net.cscott.gjdoc

Interface Parameter

public interface Parameter

The Parameter interface represents parameter information, including parameter type and parameter name.

Version: $Id: Parameter.java,v 1.3 2003/03/23 02:47:20 cananian Exp $

Author: C. Scott Ananian (cscott@cscott.net)

See Also: com.sun.javadoc.Parameter

Method Summary
abstract Stringname()
Return the local name of this parameter.
abstract StringtoString()
Return a human-readable string representing this parameter.
abstract Typetype()
Return the type of this parameter.

Method Detail

name

public abstract String name()
Return the local name of this parameter. For example, if this parameter is short index, returns "index".

toString

public abstract String toString()
Return a human-readable string representing this parameter. For example, if this parameter is short index, returns "short index".

type

public abstract Type type()
Return the type of this parameter. For example, if this parameter is short index, then type().typeName() would be the string "short".
Copyright © 2003 C. Scott Ananian