Package org.aspectj.weaver.patterns
Class NamePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.NamePattern
- 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) booleaninthashCode()booleanisAny()Method isAny.booleanmatches(char[] a2) booleanMethod maybeGetSimpleName.static NamePatterntoString()voidMethods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Field Details
-
ELLIPSIS
-
ANY
-
-
Constructor Details
-
NamePattern
-
NamePattern
public NamePattern(char[] pattern)
-
-
Method Details
-
matches
public boolean matches(char[] a2) -
matches
-
toString
-
equals
-
hashCode
public int hashCode() -
write
- Specified by:
writein classPatternNode- Throws:
IOException
-
read
- Throws:
IOException
-
maybeGetSimpleName
Method maybeGetSimpleName.- Returns:
- String
-
isAny
public boolean isAny()Method isAny.- Returns:
- boolean
-
accept
- Specified by:
acceptin classPatternNode
-