GWT 2.1.1

com.google.gwt.core.ext.typeinfo
Class JGenericType

java.lang.Object
  extended by com.google.gwt.core.ext.typeinfo.JType
      extended by com.google.gwt.core.ext.typeinfo.JClassType
          extended by com.google.gwt.core.ext.typeinfo.JRealClassType
              extended by com.google.gwt.core.ext.typeinfo.JGenericType
All Implemented Interfaces:
HasAnnotations, HasMetaData, HasTypeParameters

public class JGenericType
extends JRealClassType
implements HasTypeParameters

Type declaration that has type parameters.


Constructor Summary
JGenericType(TypeOracle oracle, JPackage declaringPackage, java.lang.String enclosingTypeName, java.lang.String name, boolean isInterface, JTypeParameter[] jtypeParameters)
           
 
Method Summary
 JParameterizedType asParameterizedByWildcards()
           
 JClassType getErasedType()
           
 java.lang.String getParameterizedQualifiedSourceName()
           
 JRawType getRawType()
           
 JTypeParameter[] getTypeParameters()
          Returns the type parameters on this element.
 JGenericType isGenericType()
           
 java.lang.String toString()
           
 
Methods inherited from class com.google.gwt.core.ext.typeinfo.JRealClassType
acceptSubtype, addConstructor, addField, addMethod, addModifierBits, addNestedType, findConstructor, findField, findMethod, findNestedType, findNestedTypeImpl, getAnnotation, getConstructor, getConstructors, getEnclosingType, getField, getFields, getImplementedInterfaces, getInheritableMethods, getInheritableMethodsOnSuperclassesAndThisClass, getInheritableMethodsOnSuperinterfacesAndMaybeThisInterface, getJNISignature, getMethod, getMethods, getModifierBits, getName, getNestedType, getNestedTypes, getOracle, getOverloads, getOverridableMethods, getPackage, getQualifiedBinaryName, getQualifiedSourceName, getSimpleSourceName, getSubtypes, getSuperclass, isAbstract, isAnnotationPresent, isArray, isClass, isDefaultInstantiable, isEnum, isFinal, isInterface, isMemberType, isParameterized, isPrimitive, isPrivate, isProtected, isPublic, isRawType, isStatic, isWildcard, notifySuperTypesOf, removeSubtype
 
Methods inherited from class com.google.gwt.core.ext.typeinfo.JClassType
asParameterizationOf, findAnnotationInTypeHierarchy, getFlattenedSupertypeHierarchy, getFlattenedSuperTypeHierarchy, getMetaData, getMetaDataTags, isAssignableFrom, isAssignableTo, isEnhanced, isLocalType, isMaybeParameterizedType, setEnhanced
 
Methods inherited from class com.google.gwt.core.ext.typeinfo.JType
equals, getLeafType, hashCode, isAnnotation, isClassOrInterface, isTypeParameter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JGenericType

public JGenericType(TypeOracle oracle,
                    JPackage declaringPackage,
                    java.lang.String enclosingTypeName,
                    java.lang.String name,
                    boolean isInterface,
                    JTypeParameter[] jtypeParameters)
Method Detail

asParameterizedByWildcards

public JParameterizedType asParameterizedByWildcards()

getErasedType

public JClassType getErasedType()
Overrides:
getErasedType in class JRealClassType

getParameterizedQualifiedSourceName

public java.lang.String getParameterizedQualifiedSourceName()
Overrides:
getParameterizedQualifiedSourceName in class JType

getRawType

public JRawType getRawType()

getTypeParameters

public JTypeParameter[] getTypeParameters()
Description copied from interface: HasTypeParameters
Returns the type parameters on this element.

Specified by:
getTypeParameters in interface HasTypeParameters
Returns:
the type parameters on this element, or zero-sized array if this element is not generic

isGenericType

public JGenericType isGenericType()
Overrides:
isGenericType in class JRealClassType

toString

public java.lang.String toString()
Overrides:
toString in class JRealClassType

GWT 2.1.1