|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.javadoc.ParameterImpl
class ParameterImpl
ParameterImpl information. This includes a parameter type and parameter name.
| Field Summary | |
|---|---|
private DocEnv |
env
|
private Symbol.VarSymbol |
sym
|
private Type |
type
|
| Constructor Summary | |
|---|---|
ParameterImpl(DocEnv env,
Symbol.VarSymbol sym)
Constructor of parameter info class. |
|
| Method Summary | |
|---|---|
AnnotationDesc[] |
annotations()
Get the annotations of this parameter. |
java.lang.String |
name()
Get local name of this parameter. |
java.lang.String |
toString()
Returns a string representation of the parameter. |
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, wait, wait, wait |
| Field Detail |
|---|
private final DocEnv env
private final Symbol.VarSymbol sym
private final Type type
| Constructor Detail |
|---|
ParameterImpl(DocEnv env,
Symbol.VarSymbol sym)
| Method Detail |
|---|
public Type type()
type in interface Parameterpublic java.lang.String name()
name in interface Parameterpublic java.lang.String typeName()
typeName in interface Parameterpublic java.lang.String toString()
For example if parameter is the short 'index', returns "short index".
toString in interface ParametertoString in class java.lang.Objectpublic AnnotationDesc[] annotations()
annotations in interface Parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||