| java.lang.Object com.sun.tools.javadoc.PrimitiveType
PrimitiveType | class PrimitiveType implements com.sun.javadoc.Type(Code) | | |
asAnnotationTypeDoc | public AnnotationTypeDoc asAnnotationTypeDoc()(Code) | | Return null, as this is not an annotation type.
|
asClassDoc | public ClassDoc asClassDoc()(Code) | | Return this type as a class. Array dimensions are ignored.
a ClassDocImpl if the type is a Class.Return null if it is a primitive type.. |
asParameterizedType | public ParameterizedType asParameterizedType()(Code) | | Return null, as this is not an instantiation.
|
asTypeVariable | public TypeVariable asTypeVariable()(Code) | | Return null, as this is not a type variable.
|
asWildcardType | public WildcardType asWildcardType()(Code) | | Return null, as this is not a wildcard type;
|
dimension | public String dimension()(Code) | | Return the type's dimension information, as a string.
For example, a two dimensional array of String returns '[][]'.
|
isPrimitive | public boolean isPrimitive()(Code) | | Return true if this is a primitive type.
|
qualifiedTypeName | public String qualifiedTypeName()(Code) | | Return qualified name of type excluding any dimension information.
For example, a two dimensional array of String
returns 'java.lang.String'.
|
simpleTypeName | public String simpleTypeName()(Code) | | Return the simple name of this type.
|
toString | public String toString()(Code) | | Returns a string representation of the type.
Return name of type including any dimension information.
For example, a two dimensional array of String returns
String[][] .
name of type including any dimension information. |
typeName | public String typeName()(Code) | | Return unqualified name of type excluding any dimension information.
For example, a two dimensional array of String returns 'String'.
|
|
|