|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Represents a java type. Type can be a class, interface or primitive data type, like int or char.
Method Summary | |
ClassDoc |
asClassDoc()
Return this type as a class doc if this type is a class or interface. |
String |
dimension()
Return the type's dimension information, as a string. |
String |
qualifiedTypeName()
Return qualified name of type excluding any dimension information. |
String |
toString()
Returns a string representation of the type. |
String |
typeName()
Return unqualified name of type excluding any dimension information. |
Method Detail |
public String typeName()
For example, a two dimensional array of String returns 'String'.
public String qualifiedTypeName()
For example, a two dimensional array of String returns 'java.lang.String'.
public String dimension()
For example, a two dimensional array of String returns '[][]'.
public String toString()
For example, a two dimensional array of String returns
String[][]
.
public ClassDoc asClassDoc()
|
Doclet API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |