Package org.aspectj.weaver
Class PoliceExtensionUse
java.lang.Object
org.aspectj.weaver.patterns.AbstractPatternNodeVisitor
org.aspectj.weaver.PoliceExtensionUse
- All Implemented Interfaces:
PatternNodeVisitor
Walks a pointcut and determines if the synchronization related designators have been used: lock() or unlock()
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
visit(AndPointcut node, Object data)
visit(KindedPointcut node, Object data)
visit(NotPointcut node, Object data)
visit(OrPointcut 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, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Constructor Details
-
PoliceExtensionUse
-
-
Method Details
-
synchronizationDesignatorEncountered
public boolean synchronizationDesignatorEncountered() -
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
-