Modifier and Type | Method and Description |
---|---|
static String |
LoadClassReference.getClassReference(MetaType metaClass,
Context context) |
static String |
LoadClassReference.getClassReference(MetaType metaClass,
Context context,
boolean typeParms) |
Modifier and Type | Interface and Description |
---|---|
interface |
MetaGenericArrayType |
interface |
MetaParameterizedType |
interface |
MetaTypeVariable |
interface |
MetaWildcardType
Represents a wildcard type such as
? , ? extends List or
? super MyType . |
Modifier and Type | Class and Description |
---|---|
class |
MetaClass |
Modifier and Type | Method and Description |
---|---|
MetaType[] |
MetaTypeVariable.getBounds()
Returns an array of the upper bounds on this type variable.
|
MetaType |
MetaGenericArrayType.getGenericComponentType() |
abstract MetaType[] |
MetaConstructor.getGenericParameterTypes() |
abstract MetaType[] |
MetaMethod.getGenericParameterTypes() |
abstract MetaType |
MetaMethod.getGenericReturnType()
Returns the MetaType representing the return type of the method.
|
abstract MetaType |
MetaField.getGenericType()
Returns the actual unerased type of this field, which could be a MetaClass
(class, enum, interface, array, primitive, etc), a bounded or unbounded
type variable, or a wildcard.
|
MetaType |
MetaField.ArrayLengthMetaField.getGenericType() |
MetaType[] |
MetaWildcardType.getLowerBounds()
Returns the lower bounds of this wildcard type.
|
MetaType |
MetaParameterizedType.getOwnerType() |
MetaType |
MetaParameterizedType.getRawType() |
MetaType[] |
MetaParameterizedType.getTypeParameters() |
MetaType[] |
MetaWildcardType.getUpperBounds()
Returns the upper bounds of this wildcard type.
|
Modifier and Type | Method and Description |
---|---|
static Class<?>[] |
MetaClassFactory.asClassArray(MetaType[] cls) |
static MetaParameterizedType |
MetaClassFactory.typeParametersOf(MetaType... classes) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMetaClass<T> |
class |
AbstractMetaParameterizedType |
class |
AbstractMetaWildcardType
Base implementation for implementations of
MetaWildcardType ,
providing uniform hashCode, equals, and toString implementations. |
Modifier and Type | Class and Description |
---|---|
class |
BuildMetaClass |
class |
BuildMetaParameterizedType |
Modifier and Type | Method and Description |
---|---|
MetaType[] |
BuildMetaConstructor.getGenericParameterTypes() |
MetaType[] |
BuildMetaMethod.getGenericParameterTypes() |
MetaType |
BuildMetaConstructor.getGenericReturnType() |
MetaType |
BuildMetaMethod.getGenericReturnType() |
MetaType |
BuildMetaField.getGenericType() |
MetaType |
BuildMetaParameterizedType.getOwnerType() |
MetaType |
BuildMetaParameterizedType.getRawType() |
MetaType[] |
BuildMetaParameterizedType.getTypeParameters() |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaMethod.setGenericReturnType(MetaType genericReturnType) |
void |
BuildMetaField.setGenericType(MetaType genericType) |
Modifier and Type | Method and Description |
---|---|
void |
BuildMetaMethod.setGenericParameterTypes(List<MetaType> genericParameterTypes) |
Constructor and Description |
---|
BuildMetaParameterizedType(MetaType[] types,
MetaType ownerType,
MetaType rawType) |
BuildMetaParameterizedType(MetaType[] types,
MetaType ownerType,
MetaType rawType) |
Modifier and Type | Class and Description |
---|---|
class |
GWTClass |
class |
GWTGenericArrayType |
class |
GWTParameterizedType |
class |
GWTTypeVariable |
class |
GWTWildcardType |
Modifier and Type | Method and Description |
---|---|
static MetaType |
GWTUtil.fromType(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType t) |
static MetaType[] |
GWTUtil.fromTypeArray(com.google.gwt.core.ext.typeinfo.TypeOracle oracle,
com.google.gwt.core.ext.typeinfo.JType[] types) |
MetaType[] |
GWTTypeVariable.getBounds() |
MetaType |
GWTGenericArrayType.getGenericComponentType() |
MetaType[] |
GWTConstructor.getGenericParameterTypes() |
MetaType[] |
GWTSpecialMethod.getGenericParameterTypes() |
MetaType[] |
GWTMethod.getGenericParameterTypes() |
MetaType |
GWTConstructor.getGenericReturnType() |
MetaType |
GWTSpecialMethod.getGenericReturnType() |
MetaType |
GWTMethod.getGenericReturnType() |
MetaType |
GWTField.getGenericType() |
MetaType[] |
GWTWildcardType.getLowerBounds() |
MetaType |
GWTParameterizedType.getOwnerType() |
MetaType |
GWTParameterizedType.getRawType() |
MetaType[] |
GWTParameterizedType.getTypeParameters() |
MetaType[] |
GWTWildcardType.getUpperBounds() |
Modifier and Type | Class and Description |
---|---|
class |
JavaReflectionClass |
class |
JavaReflectionGenericArrayType |
class |
JavaReflectionParameterizedType |
class |
JavaReflectionTypeVariable
Java Reflection based implementation of
MetaTypeVariable . |
class |
JavaReflectionWildcardType |
Modifier and Type | Method and Description |
---|---|
static MetaType |
JavaReflectionUtil.fromType(Type t)
Returns an instance of the appropriate MetaType that wraps the given Java
Reflection Type.
|
static MetaType[] |
JavaReflectionUtil.fromTypeArray(Type[] types) |
MetaType[] |
JavaReflectionTypeVariable.getBounds() |
MetaType |
JavaReflectionGenericArrayType.getGenericComponentType() |
MetaType[] |
JavaReflectionConstructor.getGenericParameterTypes() |
MetaType[] |
JavaReflectionMethod.getGenericParameterTypes() |
MetaType |
JavaReflectionConstructor.getGenericReturnType() |
MetaType |
JavaReflectionMethod.getGenericReturnType() |
MetaType |
JavaReflectionField.getGenericType() |
MetaType[] |
JavaReflectionWildcardType.getLowerBounds() |
MetaType |
JavaReflectionParameterizedType.getOwnerType() |
MetaType |
JavaReflectionParameterizedType.getRawType() |
MetaType[] |
JavaReflectionParameterizedType.getTypeParameters() |
MetaType[] |
JavaReflectionWildcardType.getUpperBounds() |
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.