Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS

Class sun.tools.javadoc.Parameter

java.lang.Object
    |
    +----sun.tools.javadoc.Parameter

public class Parameter
extends java.lang.Object
Parameter information. This includes a parameter type and parameter name.


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.
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

Contents | Package | Class | Tree | Index
PREV | NEXT SHOW LISTS | HIDE LISTS