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, WILD
Von Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Konstruktorübersicht
KonstruktorBeschreibungWildAnnotationTypePattern
(TypePattern typePattern) WildAnnotationTypePattern
(TypePattern typePattern, Map<String, String> annotationValues) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept
(PatternNodeVisitor visitor, Object data) boolean
int
hashCode()
matches
(AnnotatedElement annotated) matches
(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) parameterizeWith
(Map<String, UnresolvedType> typeVariableMap, World w) static AnnotationTypePattern
read
(VersionedDataInputStream s, ISourceContext context) void
protected void
resolveAnnotationValues
(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) void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.AnnotationTypePattern
fastMatches, isAny, isForParameterAnnotationMatch, remapAdviceFormals, setForParameterAnnotationMatch
Von 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:
matches
in 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:
matches
in KlasseAnnotationTypePattern
-
resolve
- Angegeben von:
resolve
in KlasseAnnotationTypePattern
-
resolveBindings
This can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindings
in KlasseAnnotationTypePattern
-
parameterizeWith
- Angegeben von:
parameterizeWith
in KlasseAnnotationTypePattern
-
write
- Angegeben von:
write
in 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:
accept
in KlassePatternNode
-
traverse
- Setzt außer Kraft:
traverse
in KlassePatternNode
-