Package org.aspectj.weaver
Class TypeVariableReferenceType
- java.lang.Object
-
- org.aspectj.weaver.UnresolvedType
-
- org.aspectj.weaver.ResolvedType
-
- org.aspectj.weaver.ReferenceType
-
- org.aspectj.weaver.TypeVariableReferenceType
-
- All Implemented Interfaces:
AnnotatedElement,Traceable,TypeVariableDeclaringElement,TypeVariableReference
public class TypeVariableReferenceType extends ReferenceType implements TypeVariableReference
-
-
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
bits, crosscuttingMembers, EMPTY_RESOLVED_TYPE_ARRAY, interTypeMungers, MISSING, NONE, PARAMETERIZED_TYPE_IDENTIFIER, temporaryAnnotationTypes, validBoxing, world
-
Fields inherited from class org.aspectj.weaver.UnresolvedType
AJC_PRIVILEGED, 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, PROCEEDING_JOINPOINT, RUNTIME_EXCEPTION, SERIALIZABLE, SHORT, signature, signatureErasure, SOMETHING, SUPPRESS_AJ_WARNINGS, THROWABLE, typeKind, typeParameters, typeVariables, VOID
-
-
Constructor Summary
Constructors Constructor Description TypeVariableReferenceType(TypeVariable typeVariable, World world)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)ReferenceTypeDelegategetDelegate()StringgetSignature()TypeVariablegetTypeVariable()StringgetTypeVariableName()ReferenceTypegetUpperBound()inthashCode()booleanisAnnotation()booleanisGenericWildcard()booleanisTypeVariableReference()booleanisTypeVariableResolved()UnresolvedTypeparameterize(Map<String,UnresolvedType> typeBindings)ResolvedTyperesolve(World world)StringtoString()-
Methods inherited from class org.aspectj.weaver.ReferenceType
addAnnotation, addParent, canAnnotationTargetType, checkDuplicates, demoteToSimpleType, doesNotExposeShadowMungers, ensureConsistent, findDerivativeType, fromTypeX, getAnnotationOfType, getAnnotations, getAnnotationTargetKinds, getAnnotationTypes, getCompilerVersion, getDeclaredFields, getDeclaredGenericSignature, getDeclaredInterfaces, getDeclaredMethods, getDeclaredPointcuts, getDeclares, getEndPos, getGenericSignature, getGenericType, getModifiers, getNameAsIdentifier, getOuterClass, getPerClause, getPrivilegedAccesses, getRetentionPolicy, getSignatureForAttribute, getSourceContext, getSourceLocation, getStartPos, getSuperclass, getTypeMungers, getTypeVariables, getWeaverState, hasAnnotation, hasAnnotations, hasNewInterfaces, isAnnotationStyleAspect, isAnnotationWithRuntimeRetention, isAnonymous, isAspect, isAssignableFrom, isAssignableFrom, isClass, isCoerceableFrom, isEnum, isExposedToWeaver, isGenericType, isNested, setDelegate, setEndPos, setGenericType, setStartPos
-
Methods inherited from class org.aspectj.weaver.ResolvedType
addInterTypeMunger, ajMembersNeedParameterization, canBeSeenBy, checkInterTypeMungers, checkLegalOverride, clearInterTypeMungers, collectCrosscuttingMembers, collectDeclares, collectInterTypeMungers, conflictingSignature, conflictingSignature, discoverActualOccurrenceOfTypeInHierarchy, fillInAnyTypeParameters, findPointcut, getAjMemberParameterizationMap, getBinaryPath, getDeclaredAdvice, getDeclaredJavaFields, getDeclaredJavaMethods, getDeclaredShadowMungers, getDeclaringType, getDirectSupertypes, getExposedPointcuts, getFields, getHierarchy, getHierarchy, getHierarchyWithoutIterator, getInterTypeMungers, getInterTypeMungersIncludingSupers, getInterTypeParentMungers, getInterTypeParentMungersIncludingSupers, getMemberParameterizationMap, getMethods, getMethodsIncludingIntertypeDeclarations, getMethodsWithoutIterator, getPointcuts, getRawType, getResolvedComponentType, getResolvedTypeParameters, getSize, getTopmostImplementor, getWorld, isAbstract, isCacheable, isCheckedException, isConvertableFrom, isException, isFinal, isGroovyObject, isInheritedAnnotation, isInterface, isMissing, isMissing, isMoreVisible, isParameterizedWithTypeVariable, isPrimitiveArray, isPrivilegedAspect, isSynthetic, isTopmostImplementor, isTypeHierarchyComplete, isVisible, lookupDirectlyDeclaredMemberNoSupers, lookupField, lookupMemberIncludingITDsOnInterfaces, lookupMemberNoSupers, lookupMemberWithSupersAndITDs, lookupMethod, lookupMethodInITDs, lookupResolvedMember, lookupSyntheticMember, makeArray, matches, needsNoConversionFrom, parameterizedWith, setBinaryPath, tagAsTypeHierarchyComplete
-
Methods inherited from class org.aspectj.weaver.UnresolvedType
add, forGenericType, forGenericTypeSignature, forGenericTypeVariables, forName, forNames, forPrimitiveType, forRawTypeName, forSignature, forSignatures, getBaseName, getClassName, getComponentType, getErasureSignature, getName, getNames, getOutermostType, getPackageName, getPackageNameAsIdentifier, getRawName, getSimpleBaseName, getSimpleName, getTypekind, getTypeParameters, getTypeVariableNamed, insert, isArray, isParameterizedOrGenericType, isParameterizedOrRawType, isParameterizedType, isPrimitiveType, isRawType, isSimpleType, isVoid, makeArray, needsModifiableDelegate, read, readArray, setNeedsModifiableDelegate, toDebugString, toTraceString, write, writeArray
-
-
-
-
Constructor Detail
-
TypeVariableReferenceType
public TypeVariableReferenceType(TypeVariable typeVariable, World world)
-
-
Method Detail
-
equals
public boolean equals(Object other)
- Overrides:
equalsin classResolvedType
-
hashCode
public int hashCode()
- Overrides:
hashCodein classUnresolvedType
-
getDelegate
public ReferenceTypeDelegate getDelegate()
- Overrides:
getDelegatein classReferenceType
-
parameterize
public UnresolvedType parameterize(Map<String,UnresolvedType> typeBindings)
- Overrides:
parameterizein classResolvedType
-
getTypeVariable
public TypeVariable getTypeVariable()
- Specified by:
getTypeVariablein interfaceTypeVariableReference
-
isTypeVariableReference
public boolean isTypeVariableReference()
- Overrides:
isTypeVariableReferencein classUnresolvedType
-
toString
public String toString()
- Overrides:
toStringin classUnresolvedType
-
isGenericWildcard
public boolean isGenericWildcard()
- Overrides:
isGenericWildcardin classUnresolvedType
-
isAnnotation
public boolean isAnnotation()
- Overrides:
isAnnotationin classReferenceType
-
getSignature
public String getSignature()
- Overrides:
getSignaturein classUnresolvedType
-
getTypeVariableName
public String getTypeVariableName()
-
getUpperBound
public ReferenceType getUpperBound()
-
resolve
public ResolvedType resolve(World world)
- Overrides:
resolvein classUnresolvedType
-
isTypeVariableResolved
public boolean isTypeVariableResolved()
-
-