Package org.aspectj.weaver.patterns
Klasse WildAnnotationTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
org.aspectj.weaver.patterns.WildAnnotationTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
- Autor:
- colyer, Andy Clement
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.patterns.AnnotationTypePattern
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILDVon Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungWildAnnotationTypePattern(TypePattern typePattern) WildAnnotationTypePattern(TypePattern typePattern, Map<String, String> annotationValues) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept(PatternNodeVisitor visitor, Object data) booleaninthashCode()matches(AnnotatedElement annotated) matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context) voidprotected voidresolveAnnotationValues(ResolvedType annotationType, IScope scope) Resolve any annotation values specified, checking they are all well formed (valid names, valid values)resolveBindings(IScope scope, Bindings bindings, boolean allowBinding) This can modify in place, or return a new TypePattern if the type changes.toString()traverse(PatternNodeVisitor visitor, Object data) voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.AnnotationTypePattern
fastMatches, isAny, isForParameterAnnotationMatch, remapAdviceFormals, setForParameterAnnotationMatchVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
Konstruktordetails
-
WildAnnotationTypePattern
-
WildAnnotationTypePattern
-
-
Methodendetails
-
getTypePattern
-
matches
- Angegeben von:
matchesin KlasseAnnotationTypePattern
-
resolveAnnotationValues
Resolve any annotation values specified, checking they are all well formed (valid names, valid values)- Parameter:
annotationType- the annotation type for which the values have been specifiedscope- the scope within which to resolve type references (eg. Color.GREEN)
-
matches
- Angegeben von:
matchesin KlasseAnnotationTypePattern
-
resolve
- Angegeben von:
resolvein KlasseAnnotationTypePattern
-
resolveBindings
This can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindingsin KlasseAnnotationTypePattern
-
parameterizeWith
- Angegeben von:
parameterizeWithin KlasseAnnotationTypePattern
-
write
- Angegeben von:
writein KlassePatternNode- Löst aus:
IOException
-
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
accept
- Angegeben von:
acceptin KlassePatternNode
-
traverse
- Setzt außer Kraft:
traversein KlassePatternNode
-