Package org.aspectj.weaver
Klasse TypeVariableReferenceType
java.lang.Object
org.aspectj.weaver.UnresolvedType
org.aspectj.weaver.ResolvedType
org.aspectj.weaver.ReferenceType
org.aspectj.weaver.TypeVariableReferenceType
- Alle implementierten Schnittstellen:
AnnotatedElement,Traceable,TypeVariableDeclaringElement,TypeVariableReference
ReferenceType pointing to a type variable. The delegate for this reference type is the upperbound on the type variable (so
Object if not otherwise specified).
- Autor:
- Adrian Colyer, Andy Clement
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.UnresolvedType
UnresolvedType.TypeKind -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.ReferenceType
EMPTY_ARRAYVon Klasse geerbte Felder org.aspectj.weaver.ResolvedType
bits, crosscuttingMembers, EMPTY_RESOLVED_TYPE_ARRAY, interTypeMungers, MISSING, NONE, PARAMETERIZED_TYPE_IDENTIFIER, temporaryAnnotationTypes, validBoxing, worldVon Klasse geerbte Felder 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 -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungbooleanEquality is checked based on the underlying signature.For a TypeVariableReferenceType the delegate is the delegate for the first bound.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 itselfinthashCode()Equality is checked based on the underlying signature, so the hash code of a particular type is the hash code of its signature string.booleanNote: Only overridden by Name subtype.booleanbooleanbooleanparameterize(Map<String, UnresolvedType> typeBindings) Iff I am a parameterized type, and any of my parameters are type variable references (or nested parameterized types), return a version with those type parameters replaced in accordance with the passed bindings.resolve the type variable we are managing and then return this object.toString()Returns a java language string representation of this type.Von Klasse geerbte Methoden 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, setStartPosVon Klasse geerbte Methoden 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, tagAsTypeHierarchyCompleteVon Klasse geerbte Methoden org.aspectj.weaver.UnresolvedType
add, forGenericType, forGenericTypeSignature, forGenericTypeVariables, forName, forNames, forPrimitiveType, forRawTypeName, forSignature, forSignatures, getBaseName, getClassName, getComponentType, getDimensions, 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
-
Konstruktordetails
-
TypeVariableReferenceType
-
-
Methodendetails
-
equals
Beschreibung aus Klasse kopiert:UnresolvedTypeEquality is checked based on the underlying signature.- Setzt außer Kraft:
equalsin KlasseResolvedType
-
hashCode
public int hashCode()Beschreibung aus Klasse kopiert:UnresolvedTypeEquality is checked based on the underlying signature, so the hash code of a particular type is the hash code of its signature string.- Setzt außer Kraft:
hashCodein KlasseUnresolvedType
-
getDelegate
For a TypeVariableReferenceType the delegate is the delegate for the first bound.- Setzt außer Kraft:
getDelegatein KlasseReferenceType
-
parameterize
Beschreibung aus Klasse kopiert:ResolvedTypeIff I am a parameterized type, and any of my parameters are type variable references (or nested parameterized types), return a version with those type parameters replaced in accordance with the passed bindings.- Setzt außer Kraft:
parameterizein KlasseResolvedType
-
getTypeVariable
- Angegeben von:
getTypeVariablein SchnittstelleTypeVariableReference
-
isTypeVariableReference
public boolean isTypeVariableReference()- Setzt außer Kraft:
isTypeVariableReferencein KlasseUnresolvedType
-
toString
Beschreibung aus Klasse kopiert:UnresolvedTypeReturns a java language string representation of this type.- Setzt außer Kraft:
toStringin KlasseUnresolvedType
-
isGenericWildcard
public boolean isGenericWildcard()- Setzt außer Kraft:
isGenericWildcardin KlasseUnresolvedType
-
isAnnotation
public boolean isAnnotation()Beschreibung aus Klasse kopiert:ResolvedTypeNote: Only overridden by Name subtype.- Setzt außer Kraft:
isAnnotationin KlasseReferenceType
-
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- Setzt außer Kraft:
getSignaturein KlasseUnresolvedType- Gibt zurück:
- the java JVM signature string for this type.
-
getTypeVariableName
- Gibt zurück:
- the name of the type variable
-
getUpperBound
-
resolve
resolve the type variable we are managing and then return this object. 'this' is already a ResolvedType but the type variable may transition from a not-resolved to a resolved state.- Setzt außer Kraft:
resolvein KlasseUnresolvedType- Parameter:
world- theWorldwithin which to resolve.- Gibt zurück:
- a resolved type representing this type in the appropriate world.
-
isTypeVariableResolved
public boolean isTypeVariableResolved()- Gibt zurück:
- true if the type variable this reference is managing is resolved
-