Package org.aspectj.weaver.patterns
Class EllipsisTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.EllipsisTypePattern
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
-
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, WILDFields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(PatternNodeVisitor visitor, Object data)protected booleancouldEverMatchSameTypesAs(TypePattern other)booleaninthashCode()booleanprotected booleanmatchesExactly(ResolvedType type)protected booleanmatchesExactly(ResolvedType type, ResolvedType annotatedType)matchesInstanceof(ResolvedType type)parameterizeWith(Map typeVariableMap, World w)return a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.toString()voidMethods inherited from class org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, matchesSubtypes, notExactType, postRead, read, remapAdviceFormals, resolve, resolveBindings, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersMethods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Constructor Details
-
EllipsisTypePattern
public EllipsisTypePattern()Constructor for EllipsisTypePattern.
-
-
Method Details
-
couldEverMatchSameTypesAs
- Overrides:
couldEverMatchSameTypesAsin classTypePattern
-
matchesExactly
- Specified by:
matchesExactlyin classTypePattern- See Also:
TypePattern.matchesExactly(ResolvedType)
-
matchesExactly
- Specified by:
matchesExactlyin classTypePattern
-
matchesInstanceof
- Specified by:
matchesInstanceofin classTypePattern- See Also:
TypePattern.matchesInstanceof(ResolvedType)
-
write
- Specified by:
writein classPatternNode- Throws:
IOException
-
isEllipsis
public boolean isEllipsis()- Overrides:
isEllipsisin classTypePattern
-
toString
-
equals
-
hashCode
public int hashCode() -
accept
- Specified by:
acceptin classPatternNode
-
parameterizeWith
Description copied from class:TypePatternreturn a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.- Specified by:
parameterizeWithin classTypePattern
-