com.sun.javadoc
Interface Parameter


public abstract interface Parameter
extends java.io.Serializable

Parameter information. This includes a parameter type and parameter name.


Fields inherited from class java.io.Serializable
serialVersionUID
 
Method Summary
 java.lang.String name()
          Get local name of this parameter.
 java.lang.String toString()
          Returns a string representation of the class.
 Type type()
          Get the type of this parameter.
 java.lang.String typeName()
          Get type name of this parameter.
 

Method Detail

type

public Type type()
Get the type of this parameter.

name

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

typeName

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

toString

public java.lang.String toString()
Returns a string representation of the class.

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

Returns:
type name and parameter name of this parameter.
Overrides:
toString in class java.lang.Object