|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aspectj.weaver.UnresolvedType
org.aspectj.weaver.ResolvedType
org.aspectj.weaver.ReferenceType
org.aspectj.weaver.TypeVariableReferenceType
public class TypeVariableReferenceType
ReferenceType representing a type variable. The delegate for this reference type is the upperbound on the type variable (so Object if not otherwise specified).
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.aspectj.weaver.UnresolvedType |
---|
UnresolvedType.TypeKind |
Field Summary |
---|
Fields inherited from class org.aspectj.weaver.ReferenceType |
---|
EMPTY_ARRAY |
Fields inherited from class org.aspectj.weaver.ResolvedType |
---|
crosscuttingMembers, EMPTY_RESOLVED_TYPE_ARRAY, interTypeMungers, MISSING, NONE, PARAMETERIZED_TYPE_IDENTIFIER, temporaryAnnotationTypes, validBoxing, world |
Fields inherited from class org.aspectj.weaver.UnresolvedType |
---|
ANNOTATION, ARRAY_WITH_JUST_OBJECT, AT_INHERITED, AT_RETENTION, AT_TARGET, BOOLEAN, BYTE, CHAR, CLONEABLE, DOUBLE, ENUM, ERROR, FLOAT, INT, JAVA_LANG_ANNOTATION, JAVA_LANG_CLASS_ARRAY, JAVA_LANG_REFLECT_CONSTRUCTOR, JAVA_LANG_REFLECT_FIELD, JAVA_LANG_REFLECT_METHOD, JL_CLASS, JL_EXCEPTION, JL_STRING, JOINPOINT_ENCLOSINGSTATICPART, JOINPOINT_STATICPART, LONG, MISSING_NAME, OBJECT, OBJECTARRAY, RUNTIME_EXCEPTION, SERIALIZABLE, SHORT, signature, signatureErasure, SOMETHING, SUPPRESS_AJ_WARNINGS, THROWABLE, typeKind, typeParameters, typeVariables, VOID |
Constructor Summary | |
---|---|
TypeVariableReferenceType(TypeVariable typeVariable,
World world)
|
Method Summary | |
---|---|
ReferenceTypeDelegate |
getDelegate()
For a TypeVariableReferenceType the delegate is the delegate for the first bound. |
java.lang.String |
getSignature()
return the signature for a *REFERENCE* to a type variable, which is simply: Tname; there is no bounds info included, that is in the signature of the type variable itself |
TypeVariable |
getTypeVariable()
|
java.lang.String |
getTypeVariableName()
|
ReferenceType |
getUpperBound()
|
boolean |
isAnnotation()
Note: Only overridden by Name subtype. |
boolean |
isGenericWildcard()
|
boolean |
isTypeVariableReference()
|
boolean |
isTypeVariableResolved()
|
UnresolvedType |
parameterize(java.util.Map<java.lang.String,UnresolvedType> typeBindings)
Iff I am a parameterized type, and any of my parameters are type variable references, return a version with those type parameters replaced in accordance with the passed bindings. |
ResolvedType |
resolve(World world)
resolve the type variable we are managing and then return this object. |
java.lang.String |
toString()
Returns a java language string representation of this type. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TypeVariableReferenceType(TypeVariable typeVariable, World world)
Method Detail |
---|
public ReferenceTypeDelegate getDelegate()
getDelegate
in class ReferenceType
public UnresolvedType parameterize(java.util.Map<java.lang.String,UnresolvedType> typeBindings)
ResolvedType
parameterize
in class ResolvedType
public TypeVariable getTypeVariable()
getTypeVariable
in interface TypeVariableReference
public boolean isTypeVariableReference()
isTypeVariableReference
in class UnresolvedType
public java.lang.String toString()
UnresolvedType
toString
in class UnresolvedType
public boolean isGenericWildcard()
isGenericWildcard
in class UnresolvedType
public boolean isAnnotation()
ResolvedType
isAnnotation
in class ReferenceType
public java.lang.String getSignature()
getSignature
in class UnresolvedType
public java.lang.String getTypeVariableName()
public ReferenceType getUpperBound()
public ResolvedType resolve(World world)
resolve
in class UnresolvedType
world
- the World
within which to resolve.
public boolean isTypeVariableResolved()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |