com.google.gwt.core.ext.typeinfo
Class JPrimitiveType
java.lang.Object
com.google.gwt.core.ext.typeinfo.JType
com.google.gwt.core.ext.typeinfo.JPrimitiveType
public class JPrimitiveType
- extends JType
Represents a primitive type in a declaration.
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BOOLEAN
public static final JPrimitiveType BOOLEAN
BYTE
public static final JPrimitiveType BYTE
CHAR
public static final JPrimitiveType CHAR
DOUBLE
public static final JPrimitiveType DOUBLE
FLOAT
public static final JPrimitiveType FLOAT
INT
public static final JPrimitiveType INT
LONG
public static final JPrimitiveType LONG
SHORT
public static final JPrimitiveType SHORT
VOID
public static final JPrimitiveType VOID
valueOf
public static JPrimitiveType valueOf(java.lang.String typeName)
getErasedType
public JType getErasedType()
- Specified by:
getErasedType in class JType
getJNISignature
public java.lang.String getJNISignature()
- Specified by:
getJNISignature in class JType
getQualifiedBinaryName
public java.lang.String getQualifiedBinaryName()
- Description copied from class:
JType
- TODO(scottb): remove if we can resolve param names differently.
- Specified by:
getQualifiedBinaryName in class JType
getQualifiedBoxedSourceName
public java.lang.String getQualifiedBoxedSourceName()
getQualifiedSourceName
public java.lang.String getQualifiedSourceName()
- Specified by:
getQualifiedSourceName in class JType
getSimpleSourceName
public java.lang.String getSimpleSourceName()
- Specified by:
getSimpleSourceName in class JType
isArray
public JArrayType isArray()
- Specified by:
isArray in class JType
isClass
public JClassType isClass()
- Specified by:
isClass in class JType
isEnum
public JEnumType isEnum()
- Description copied from class:
JType
- Returns this instance if it is an enumeration or
null if it
is not.
- Specified by:
isEnum in class JType
- Returns:
- this instance if it is an enumeration or
null if it
is not
isGenericType
public JGenericType isGenericType()
- Specified by:
isGenericType in class JType
isInterface
public JClassType isInterface()
- Specified by:
isInterface in class JType
isParameterized
public JParameterizedType isParameterized()
- Specified by:
isParameterized in class JType
isPrimitive
public JPrimitiveType isPrimitive()
- Specified by:
isPrimitive in class JType
isRawType
public JRawType isRawType()
- Specified by:
isRawType in class JType
isWildcard
public JWildcardType isWildcard()
- Specified by:
isWildcard in class JType
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object