| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private static final boolean | |
| private MatchingContext | |
| private PointcutParameter[] | |
| private Pointcut | |
| private World |
| Access | Constructor and Description |
|---|---|
| public | PointcutExpressionImpl(Pointcut pointcut, String expression, PointcutParameter[] params, World inWorld)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | couldMatchJoinPointsInType(Class<T>
the candidate class aClass)Implements org. |
| private ExposedState | |
| public String | getPointcutExpression()
Implements org. |
| private ShadowMatchImpl | |
| public Pointcut | |
| public ShadowMatch | matchesAdviceExecution(Method
a method representing the advice being executed aMethod)Implements org. |
| public ShadowMatch | matchesConstructorCall(Constructor<T>
the cosstructor being called aConstructor, Class<T> the declared type of the caller callerType)Implements org. |
| public ShadowMatch | matchesConstructorCall(Constructor<T>
the constructor being called aConstructor, Member the Method or Constructor from within which the call is made withinCode)Implements org. |
| public ShadowMatch | matchesConstructorExecution(Constructor<T>
the constructor being executed aConstructor)Implements org. |
| private ShadowMatch | |
| public ShadowMatch | matchesFieldGet(Field
the field being accessed aField, Class<T> the type owning the call site withinType)Implements org. |
| public ShadowMatch | matchesFieldGet(Field
the field being updated aField, Member the Method or Constructor owning the call site withinCode)Implements org. |
| public ShadowMatch | matchesFieldSet(Field
the field being updated aField, Class<T> the type owning the call site withinType)Implements org. |
| public ShadowMatch | matchesFieldSet(Field
the field being updated aField, Member the Method or Constructor owning the call site withinCode)Implements org. |
| public ShadowMatch | matchesHandler(Class<T>
the static type of the exception being handled exceptionType, Class<T> the type in which the handler block is executing handlingType)Implements org. |
| public ShadowMatch | matchesHandler(Class<T>
the static type of the exception being handled exceptionType, Member the method or constructor in which the catch block is declared withinCode)Implements org. |
| public ShadowMatch | matchesInitialization(Constructor<T>
the constructor initiating the initialization aConstructor)Implements org. |
| public ShadowMatch | matchesMethodCall(Method
the method being called aMethod, Member the Method or Constructor from within which the call is made withinCode)Implements org. |
| public ShadowMatch | matchesMethodCall(Method
the method being called aMethod, Class<T> the declared type of the caller callerType)Implements org. |
| public ShadowMatch | matchesMethodExecution(Method
the method being executed aMethod)Implements org. |
| public ShadowMatch | matchesPreInitialization(Constructor<T>
the constructor initiating the initialization aConstructor)Implements org. |
| public ShadowMatch | matchesStaticInitialization(Class<T>
the class being statically initialized aClass)Implements org. |
| public boolean | mayNeedDynamicTest()
Implements org. |
| public void | setMatchingContext(MatchingContext aMatchContext)
Implements org. |
| expression | back to summary |
|---|---|
| private String expression | |
| MATCH_INFO | back to summary |
|---|---|
| private static final boolean MATCH_INFO | |
| matchContext | back to summary |
|---|---|
| private MatchingContext matchContext | |
| parameters | back to summary |
|---|---|
| private PointcutParameter[] parameters | |
| pointcut | back to summary |
|---|---|
| private Pointcut pointcut | |
| world | back to summary |
|---|---|
| private World world | |
| PointcutExpressionImpl | back to summary |
|---|---|
| public PointcutExpressionImpl(Pointcut pointcut, String expression, PointcutParameter[] params, World inWorld) | |
| couldMatchJoinPointsInType | back to summary |
|---|---|
| public boolean couldMatchJoinPointsInType(Class<T> aClass) Implements org. Doc from org. Determine whether or not this pointcut could ever match a join point in the given class.
| |
| getExposedState | back to summary |
|---|---|
| private ExposedState getExposedState() | |
| getPointcutExpression | back to summary |
|---|---|
| public String getPointcutExpression() Implements org. Doc from org. Return a string representation of this pointcut expression. | |
| getShadowMatch | back to summary |
|---|---|
| private ShadowMatchImpl getShadowMatch(Shadow forShadow) | |
| getUnderlyingPointcut | back to summary |
|---|---|
| public Pointcut getUnderlyingPointcut() | |
| matchesAdviceExecution | back to summary |
|---|---|
| public ShadowMatch matchesAdviceExecution(Method aMethod) Implements org. Doc from org. Determine whether or not this pointcut matches the execution of a given piece of advice.
| |
| matchesConstructorCall | back to summary |
|---|---|
| public ShadowMatch matchesConstructorCall(Constructor<T> aConstructor, Class<T> callerType) Implements org. Doc from org. Determine whether or not this pointcut matches a method call to the given constructor, made outside of the scope of any method or constructor, but within the callerType.
| |
| matchesConstructorCall | back to summary |
|---|---|
| public ShadowMatch matchesConstructorCall(Constructor<T> aConstructor, Member withinCode) Implements org. Doc from org. Determine whether or not this pointcut matches a method call to the given constructor, made during the execution of the given method or constructor.
| |
| matchesConstructorExecution | back to summary |
|---|---|
| public ShadowMatch matchesConstructorExecution(Constructor<T> aConstructor) Implements org. Doc from org. Determine whether or not this pointcut matches the execution of a given constructor.
| |
| matchesExecution | back to summary |
|---|---|
| private ShadowMatch matchesExecution(Member aMember) | |
| matchesFieldGet | back to summary |
|---|---|
| public ShadowMatch matchesFieldGet(Field aField, Class<T> withinType) Implements org. Doc from org. Determine whether or not this pointcut matches a get of the given field outside of the scope of any method or constructor, but within the given type (for example, during static initialization).
| |
| matchesFieldGet | back to summary |
|---|---|
| public ShadowMatch matchesFieldGet(Field aField, Member withinCode) Implements org. Doc from org. Determine whether or not this pointcut matches a get of the given field from within the given method or constructor.
| |
| matchesFieldSet | back to summary |
|---|---|
| public ShadowMatch matchesFieldSet(Field aField, Class<T> withinType) Implements org. Doc from org. Determine whether or not this pointcut matches a set of the given field outside of the scope of any method or constructor, but within the given type (for example, during static initialization).
| |
| matchesFieldSet | back to summary |
|---|---|
| public ShadowMatch matchesFieldSet(Field aField, Member withinCode) Implements org. Doc from org. Determine whether or not this pointcut matches a set of the given field from within the given method or constructor.
| |
| matchesHandler | back to summary |
|---|---|
| public ShadowMatch matchesHandler(Class<T> exceptionType, Class<T> handlingType) Implements org. Doc from org. Determine whether or not this pointcut matches the execution of a given exception handler outside of the scope of any method or constructor, but within the handling type.
| |
| matchesHandler | back to summary |
|---|---|
| public ShadowMatch matchesHandler(Class<T> exceptionType, Member withinCode) Implements org. Doc from org. Determine whether or not this pointcut matches the execution of a given exception handler within the given method or constructor
| |
| matchesInitialization | back to summary |
|---|---|
| public ShadowMatch matchesInitialization(Constructor<T> aConstructor) Implements org. Doc from org. Determine whether or not this pointcut matches the initialization of an object initiated by a call to the given constructor.
| |
| matchesMethodCall | back to summary |
|---|---|
| public ShadowMatch matchesMethodCall(Method aMethod, Member withinCode) Implements org. Doc from org. Determine whether or not this pointcut matches a method call to the given method, made during the execution of the given method or constructor.
| |
| matchesMethodCall | back to summary |
|---|---|
| public ShadowMatch matchesMethodCall(Method aMethod, Class<T> callerType) Implements org. Doc from org. Determine whether or not this pointcut matches a method call to the given method, made outside of the scope of any method or constructor, but within the callerType (for example, during static initialization of the type).
| |
| matchesMethodExecution | back to summary |
|---|---|
| public ShadowMatch matchesMethodExecution(Method aMethod) Implements org. Doc from org. Determine whether or not this pointcut matches the execution of a given method.
| |
| matchesPreInitialization | back to summary |
|---|---|
| public ShadowMatch matchesPreInitialization(Constructor<T> aConstructor) Implements org. Doc from org. Determine whether or not this pointcut matches the pre-initialization of an object initiated by a call to the given constructor.
| |
| matchesStaticInitialization | back to summary |
|---|---|
| public ShadowMatch matchesStaticInitialization(Class<T> aClass) Implements org. Doc from org. Determine whether or not this pointcut matches the static initialization of the given class.
| |
| mayNeedDynamicTest | back to summary |
|---|---|
| public boolean mayNeedDynamicTest() Implements org. Doc from org. Returns true iff this pointcut contains any expression that might necessitate a dynamic test at some join point (e.g. args) | |
| setMatchingContext | back to summary |
|---|---|
| public void setMatchingContext(MatchingContext aMatchContext) Implements org. Doc from org. Set the matching context to be used for subsequent calls to match. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Class | getDeclaringClass()
Implements java. |
| public Class | |
| public int | getModifiers()
Implements java. |
| public String | getName()
Implements java. |
| public boolean | isSynthetic()
Implements java. true if this member was introduced by
the compiler; returns false otherwise.
|
| decClass | back to summary |
|---|---|
| private Class<?> decClass | |
| exType | back to summary |
|---|---|
| private Class<?> exType | |
| Handler | back to summary |
|---|---|
| public Handler(Class<T> decClass, Class<T> exType) | |
| getDeclaringClass | back to summary |
|---|---|
| public Class Implements java. Doc from java. Returns the Class object representing the class or interface that declares the member or constructor represented by this Member.
| |
| getHandledExceptionType | back to summary |
|---|---|
| public Class | |
| getModifiers | back to summary |
|---|---|
| public int getModifiers() Implements java. Doc from java. Returns the Java language modifiers for the member or constructor represented by this Member, as an integer. The Modifier class should be used to decode the modifiers in the integer.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements java. Doc from java. Returns the simple name of the underlying member or constructor represented by this Member.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Implements java. Doc from java. Returns
| |
| Modifier and Type | Field and Description |
|---|---|
| private boolean |
| Access | Constructor and Description |
|---|---|
| private |
| hasDynamicContent | back to summary |
|---|---|
| private boolean hasDynamicContent | |
| HasPossibleDynamicContentVisitor | back to summary |
|---|---|
| private HasPossibleDynamicContentVisitor() | |
| hasDynamicContent | back to summary |
|---|---|
| public boolean hasDynamicContent() | |
| visit | back to summary |
|---|---|
| public Object visit(WithinAnnotationPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(WithinCodeAnnotationPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(AnnotationPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(ArgsAnnotationPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(ArgsPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(CflowPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(IfPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(NotAnnotationTypePattern node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(NotPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(ThisOrTargetAnnotationPointcut node, Object data) Overrides org. Implements org.
| |
| visit | back to summary |
|---|---|
| public Object visit(ThisOrTargetPointcut node, Object data) Overrides org. Implements org.
| |