Package org.aspectj.weaver.patterns
Class AnyTypePattern
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.TypePattern
-
- org.aspectj.weaver.patterns.AnyTypePattern
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
public class AnyTypePattern extends TypePattern
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.patterns.TypePattern
AND, annotationPattern, ANY, ANY_KEY, ANY_WITH_ANNO, BINDING, DYNAMIC, ELLIPSIS, ELLIPSIS_KEY, EXACT, HAS_MEMBER, includeSubtypes, isVarArgs, NO, NO_KEY, NOT, OR, STATIC, TYPE_CATEGORY, typeParameters, WILD
-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description AnyTypePattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PatternNodeVisitor visitor, Object data)protected booleancouldEverMatchSameTypesAs(TypePattern other)booleanequals(Object obj)inthashCode()booleanisStar()protected booleanmatchesExactly(ResolvedType type)protected booleanmatchesExactly(ResolvedType type, ResolvedType annotatedType)FuzzyBooleanmatchesInstanceof(ResolvedType type)protected booleanmatchesSubtypes(ResolvedType type)TypePatternparameterizeWith(Map<String,UnresolvedType> arg0, World w)StringtoString()voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isEllipsis, isIncludeSubtypes, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, notExactType, postRead, read, remapAdviceFormals, resolve, resolveBindings, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParameters
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
-
-
-
Method Detail
-
couldEverMatchSameTypesAs
protected boolean couldEverMatchSameTypesAs(TypePattern other)
- Overrides:
couldEverMatchSameTypesAsin classTypePattern
-
matchesExactly
protected boolean matchesExactly(ResolvedType type)
- Specified by:
matchesExactlyin classTypePattern
-
matchesExactly
protected boolean matchesExactly(ResolvedType type, ResolvedType annotatedType)
- Specified by:
matchesExactlyin classTypePattern
-
matchesInstanceof
public FuzzyBoolean matchesInstanceof(ResolvedType type)
- Specified by:
matchesInstanceofin classTypePattern
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classPatternNode- Throws:
IOException
-
matchesSubtypes
protected boolean matchesSubtypes(ResolvedType type)
- Overrides:
matchesSubtypesin classTypePattern
-
isStar
public boolean isStar()
- Overrides:
isStarin classTypePattern
-
accept
public Object accept(PatternNodeVisitor visitor, Object data)
- Specified by:
acceptin classPatternNode
-
parameterizeWith
public TypePattern parameterizeWith(Map<String,UnresolvedType> arg0, World w)
- Specified by:
parameterizeWithin classTypePattern
-
-