Package org.aspectj.weaver.patterns
Class ModifiersPattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.ModifiersPattern
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
-
Field Summary
FieldsFields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(PatternNodeVisitor visitor, Object data)booleanstatic intgetModifierFlag(String name)inthashCode()booleanmatches(int modifiers)static ModifiersPatterntoString()voidMethods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Field Details
-
ANY
-
-
Constructor Details
-
ModifiersPattern
public ModifiersPattern(int requiredModifiers, int forbiddenModifiers)
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
matches
public boolean matches(int modifiers) -
read
- Throws:
IOException
-
write
- Specified by:
writein classPatternNode- Throws:
IOException
-
getModifierFlag
-
accept
- Specified by:
acceptin classPatternNode
-