Package org.aspectj.weaver.patterns
Klasse AnyWithAnnotationTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.AnyWithAnnotationTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
This type represents a type pattern of '*' but with an annotation specified, e.g. '@Color *'
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind -
Feldübersicht
Von Klasse geerbte Felder 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, WILDVon Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept(PatternNodeVisitor visitor, Object data) protected booleanbooleaninthashCode()booleanisStar()protected booleanmatchesExactly(ResolvedType type) protected booleanmatchesExactly(ResolvedType type, ResolvedType annotatedType) protected booleanmatchesSubtypes(ResolvedType type) parameterizeWith(Map<String, UnresolvedType> 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.static TypePatternresolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) This can modify in place, or return a new TypePattern if the type changes.toString()voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
getAnnotationPattern, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isEllipsis, isIncludeSubtypes, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Konstruktordetails
-
AnyWithAnnotationTypePattern
-
-
Methodendetails
-
accept
- Angegeben von:
acceptin KlassePatternNode
-
couldEverMatchSameTypesAs
- Setzt außer Kraft:
couldEverMatchSameTypesAsin KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
resolveBindings
public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) Beschreibung aus Klasse kopiert:TypePatternThis can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindingsin KlasseTypePattern
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceofin KlasseTypePattern
-
parameterizeWith
Beschreibung aus Klasse kopiert:TypePatternreturn a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.- Angegeben von:
parameterizeWithin KlasseTypePattern
-
write
- Angegeben von:
writein KlassePatternNode- Löst aus:
IOException
-
read
- Löst aus:
IOException
-
matchesSubtypes
- Setzt außer Kraft:
matchesSubtypesin KlasseTypePattern
-
isStar
public boolean isStar()- Setzt außer Kraft:
isStarin KlasseTypePattern
-
toString
-
getAnnotationTypePattern
-
equals
-
hashCode
public int hashCode()
-