|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JType
Super interface for types.
Method Summary | |
---|---|
JType |
getErasedType()
Returns this type with no type parameters or type variables. |
java.lang.String |
getJNISignature()
Returns the "field descriptor" for a type as specified by the Java Virtual Machine Specification. |
JType |
getLeafType()
For array types, recursively looks for the element type that is not an array. |
java.lang.String |
getParameterizedQualifiedSourceName()
Returns a type name as it would be specified in Java source, with the package name included. |
java.lang.String |
getQualifiedBinaryName()
A binary type name as specified by the Java Language Spec, ThirdEdition. |
java.lang.String |
getQualifiedSourceName()
Returns a type name as it would be specified in Java source, with the package name included. |
java.lang.String |
getSimpleSourceName()
Returns the name of this class without the package name or enclosing class name. |
JAnnotationType |
isAnnotation()
Returns this instance as a JAnnotationType if it is an annotation
or null if it is not. |
JArrayType |
isArray()
|
JClassType |
isClass()
Returns this instance if the erased version of this type is a class (as opposed to a primitive, array, or interface) or null if it is not. |
JClassType |
isClassOrInterface()
Returns this instance if the erased version of this type is a class or interface (as opposed to a primitive or array array) or null if it is not. |
JEnumType |
isEnum()
Returns this instance if it is an enumeration or null if it is
not. |
JGenericType |
isGenericType()
Returns this instance if it is a real class that has type parameters or null
if it is not. |
JClassType |
isInterface()
Returns this instance if it is an interface or null if it is not. |
JParameterizedType |
isParameterized()
Returns this instance as a JParameterizedType if it is a parameterized type
or null if it is not. |
JPrimitiveType |
isPrimitive()
|
JRawType |
isRawType()
Returns the raw type if this is a JRawType , otherwise returns
null . |
JTypeParameter |
isTypeParameter()
|
JWildcardType |
isWildcard()
|
Method Detail |
---|
JType getErasedType()
java.lang.String getJNISignature()
Z
[B
Ljava/lang/String;
JType getLeafType()
java.lang.String getParameterizedQualifiedSourceName()
java.lang.String getQualifiedBinaryName()
java.lang.String getQualifiedSourceName()
java.lang.String getSimpleSourceName()
JAnnotationType isAnnotation()
JAnnotationType
if it is an annotation
or null
if it is not.
JArrayType isArray()
JClassType isClass()
null
if it is not.
JClassType isClassOrInterface()
null
if it is not.
JEnumType isEnum()
null
if it is
not.
JGenericType isGenericType()
null
if it is not.
JClassType isInterface()
null
if it is not.
JParameterizedType isParameterized()
JParameterizedType
if it is a parameterized type
or null
if it is not.
JPrimitiveType isPrimitive()
JRawType isRawType()
JRawType
, otherwise returns
null
.
JTypeParameter isTypeParameter()
JWildcardType isWildcard()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |