Parameter (Doclet API)

Package | Class | Use | Tree | Deprecated | Index | Help

Doclet API

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.javadoc
Interface Parameter

public interface Parameter

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

Method Summary
`String` | `name()` Get local name of this parameter.
`String` | `toString()` Returns a string representation of the class.
`Type` | `type()` Get the type of this parameter.
`String` | `typeName()` Get type name of this parameter.

Method Detail

### type

    public Type type()

  Get the type of this parameter.

### name

    public String name()

  Get local name of this parameter. For example if parameter is the short 'index', returns "index".

### typeName

    public String typeName()

  Get type name of this parameter. For example if parameter is the short 'index', returns "short".

### toString

    public String toString()

  Returns a string representation of the class.

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

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

Package | Class | Use | Tree | Deprecated | Index | Help

Doclet API

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.