FileDocCategorySizeDatePackage
Parameter.javaAPI DocJava SE 5 API1395Fri Aug 26 14:54:54 BST 2005com.sun.javadoc

Parameter

public interface Parameter
Parameter information. This includes a parameter type and parameter name.
author
Robert Field

Fields Summary
Constructors Summary
Methods Summary
public com.sun.javadoc.AnnotationDesc[]annotations()
Get the annotations of this parameter. Return an empty array if there are none.

return
the annotations of this parameter.
since
1.5

public java.lang.Stringname()
Get local name of this parameter. For example if parameter is the short 'index', returns "index".

public java.lang.StringtoString()
Returns a string representation of the parameter.

For example if parameter is the short 'index', returns "short index".

return
type and parameter name of this parameter.

public com.sun.javadoc.Typetype()
Get the type of this parameter.

public java.lang.StringtypeName()
Get type name of this parameter. For example if parameter is the short 'index', returns "short".

This method returns a complete string representation of the type, including the dimensions of arrays and the type arguments of parameterized types. Names are qualified.