Class DeferredResolvedPointcutDefinition
java.lang.Object
org.aspectj.weaver.MemberImpl
org.aspectj.weaver.ResolvedMemberImpl
org.aspectj.weaver.ResolvedPointcutDefinition
org.aspectj.weaver.reflect.DeferredResolvedPointcutDefinition
- All Implemented Interfaces:
Comparable<Member>, AnnotatedElement, IHasPosition, Member, ResolvedMember, TypeVariableDeclaringElement
When a Java15ReflectionBasedDelegate gets the pointcuts for a given class it tries to resolve them before returning. This can
cause problems if the resolution of one pointcut in the type depends on another pointcut in the same type. Therefore the
algorithm proceeds in two phases, first we create and store instances of this class in the pointcuts array, and once that is
done, we come back round and resolve the actual pointcut expression. This means that if we recurse doing resolution, we will find
the named pointcut we are looking for!
- Author:
- adrian colyer
-
Field Summary
Fields inherited from class ResolvedPointcutDefinition
DUMMY, NO_POINTCUTSFields inherited from class ResolvedMemberImpl
annotations, annotationTypes, backingGenericMember, checkedExceptions, end, parameterAnnotations, parameterAnnotationTypes, showParameterNames, sourceContext, start, typeVariablesFields inherited from class MemberImpl
declaringType, kind, modifiers, name, parameterTypes, returnTypeFields inherited from interface Member
ADVICE, CONSTRUCTOR, FIELD, HANDLER, METHOD, MONITORENTER, MONITOREXIT, NO_PARAMETER_ANNOTATION_TYPES, NO_PARAMETER_ANNOTATIONXS, NONE, POINTCUT, STATIC_INITIALIZATIONFields inherited from interface ResolvedMember
NONE -
Constructor Summary
ConstructorsConstructorDescriptionDeferredResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes) -
Method Summary
Methods inherited from class ResolvedPointcutDefinition
getPointcut, isAjSynthetic, parameterizedWith, read, setPointcut, toString, writeMethods inherited from class ResolvedMemberImpl
addAnnotation, appendSigWithTypeVarBoundsRemoved, evictWeavingState, getAnnotationDefaultValue, getAnnotationOfType, getAnnotations, getAnnotationTypes, getAssociatedShadowMunger, getBackingGenericMember, getEffectiveSignature, getEnd, getExceptions, getExceptions, getGenericParameterTypes, getGenericReturnType, getGenericSignature, getJoinPointSignatures, getModifiers, getModifiers, getParameterAnnotations, getParameterAnnotationTypes, getParameterNames, getParameterNames, getParameterSignatureErased, getSignatureErased, getSignatureForAttribute, getSourceContext, getSourceContext, getSourceLocation, getStart, getTypeVariableNamed, getTypeVariables, hasAnnotation, hasAnnotations, hasBackingGenericMember, isAbstract, isAnnotatedElsewhere, isBridgeMethod, isCompatibleWith, isDefault, isDefaultConstructor, isEquivalentTo, isPublic, isSynthetic, isVarargsMethod, isVisible, matches, parameterize, parameterizedWith, parameterizedWith, readResolvedMember, readResolvedMemberArray, resetKind, resetModifiers, resetName, resetReturnTypeToObjectArray, resolve, setAjSynthetic, setAnnotatedElsewhere, setAnnotations, setAnnotationTypes, setCheckedExceptions, setDeclaringType, setParameterNames, setPosition, setSourceContext, setTypeVariables, setVarargsMethod, toDebugString, toGenericString, writeArrayMethods inherited from class MemberImpl
canBeParameterized, compareTo, equals, equalsApartFromDeclaringType, field, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getType, hashCode, isInterface, isPrivate, isStatic, makeExceptionHandlerSignature, method, method, monitorEnter, monitorExit, pointcut, typesToSignature, typesToSignature, wipeJoinpointSignaturesMethods inherited from interface Member
canBeParameterized, compareTo, getArity, getDeclaringType, getDeclaringTypes, getJoinPointSignatures, getKind, getName, getParameterSignature, getParameterTypes, getReturnType, getSignature, getTypeMethods inherited from interface ResolvedMember
equalsApartFromDeclaringType
-
Constructor Details
-
DeferredResolvedPointcutDefinition
public DeferredResolvedPointcutDefinition(UnresolvedType declaringType, int modifiers, String name, UnresolvedType[] parameterTypes)
-