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
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 |
Constructor Summary |
AnyTypePattern()
Constructor for EllipsisTypePattern. |
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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AnyTypePattern
public AnyTypePattern()
- Constructor for EllipsisTypePattern.
- Parameters:
includeSubtypes
-
couldEverMatchSameTypesAs
protected boolean couldEverMatchSameTypesAs(TypePattern other)
- Overrides:
couldEverMatchSameTypesAs
in class TypePattern
matchesExactly
protected boolean matchesExactly(ResolvedType type)
- Specified by:
matchesExactly
in class TypePattern
- See Also:
org.aspectj.weaver.patterns.TypePattern#matchesExactly(IType)
matchesExactly
protected boolean matchesExactly(ResolvedType type,
ResolvedType annotatedType)
- Specified by:
matchesExactly
in class TypePattern
matchesInstanceof
public FuzzyBoolean matchesInstanceof(ResolvedType type)
- Specified by:
matchesInstanceof
in class TypePattern
- See Also:
org.aspectj.weaver.patterns.TypePattern#matchesInstanceof(IType)
write
public void write(CompressingDataOutputStream s)
throws java.io.IOException
- Specified by:
write
in class PatternNode
- Throws:
java.io.IOException
matchesSubtypes
protected boolean matchesSubtypes(ResolvedType type)
- Overrides:
matchesSubtypes
in class TypePattern
- See Also:
org.aspectj.weaver.patterns.TypePattern#matchesSubtypes(IType)
isStar
public boolean isStar()
- Overrides:
isStar
in class TypePattern
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
accept
public java.lang.Object accept(PatternNodeVisitor visitor,
java.lang.Object data)
- Specified by:
accept
in class PatternNode
parameterizeWith
public TypePattern parameterizeWith(java.util.Map arg0,
World w)
- Description copied from class:
TypePattern
- return a version of this type pattern in which all type variable references have been replaced by their corresponding entry
in the map.
- Specified by:
parameterizeWith
in class TypePattern