Package org.aspectj.weaver.patterns
Class PerThisOrTargetPointcutVisitor
java.lang.Object
org.aspectj.weaver.patterns.AbstractPatternNodeVisitor
org.aspectj.weaver.patterns.PerThisOrTargetPointcutVisitor
- All Implemented Interfaces:
PatternNodeVisitor
A visitor that turns a pointcut into a type pattern equivalent for a perthis or pertarget matching: - pertarget(target(Foo)) →
Foo+ (this one is a special case..) - pertarget(execution(* Foo.do()) → Foo - perthis(call(* Foo.do()) → * - perthis(!call(*
Foo.do()) → * (see how the ! has been absorbed here..)
- Author:
- Alexandre Vasseur (alex AT gnilux DOT com)
-
Constructor Summary
ConstructorDescriptionPerThisOrTargetPointcutVisitor
(boolean isTarget, ResolvedType fromAspectType) -
Method Summary
Modifier and TypeMethodDescriptiongetPerTypePointcut
(Pointcut perClausePointcut) visit
(AndPointcut node, Object data) visit
(AnnotationPointcut node, Object data) visit
(ArgsAnnotationPointcut node, Object data) visit
(ArgsPointcut node, Object data) visit
(CflowPointcut node, Object data) visit
(ConcreteCflowPointcut node, Object data) visit
(HandlerPointcut node, Object data) visit
(IfPointcut node, Object data) visit
(KindedPointcut node, Object data) visit
(NotPointcut node, Object data) visit
(OrPointcut node, Object data) visit
(ReferencePointcut node, Object data) visit
(ThisOrTargetAnnotationPointcut node, Object data) visit
(ThisOrTargetPointcut node, Object data) visit
(WithinAnnotationPointcut node, Object data) visit
(WithinCodeAnnotationPointcut node, Object data) visit
(WithincodePointcut node, Object data) visit
(WithinPointcut node, Object data) Methods inherited from class org.aspectj.weaver.patterns.AbstractPatternNodeVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
PerThisOrTargetPointcutVisitor
-
-
Method Details
-
getPerTypePointcut
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-
visit
- Specified by:
visit
in interfacePatternNodeVisitor
- Overrides:
visit
in classAbstractPatternNodeVisitor
-