Package org.aspectj.weaver.patterns
Klasse ExactAnnotationFieldTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
org.aspectj.weaver.patterns.ExactAnnotationTypePattern
org.aspectj.weaver.patterns.ExactAnnotationFieldTypePattern
- Alle implementierten Schnittstellen:
IHasPosition
,IHasSourceLocation
Represents an attempt to bind the field of an annotation within a pointcut. For example:
before(Level lev): execution(* *(..)) && @annotation(TraceAnnotation(lev))
This binding annotation type pattern will be for 'lev'.
-
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.patterns.ExactAnnotationTypePattern
bindingPattern, formalName, resolved
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
KonstruktorBeschreibungExactAnnotationFieldTypePattern
(ExactAnnotationTypePattern p, String formalName) ExactAnnotationFieldTypePattern
(UnresolvedType annotationType, String formalName) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept
(PatternNodeVisitor visitor, Object data) boolean
fastMatches
(AnnotatedElement annotated) int
hashCode()
matches
(AnnotatedElement annotated) matches
(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) matchesRuntimeType
(AnnotatedElement annotated) parameterizeWith
(Map typeVariableMap, World w) static AnnotationTypePattern
read
(VersionedDataInputStream s, ISourceContext context) void
resolveBindings
(IScope scope, Bindings bindings, boolean allowBinding) resolve one of these funky things.toString()
void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.ExactAnnotationTypePattern
maybeGetSimpleName, verifyIsAnnotationType
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.AnnotationTypePattern
isAny, isForParameterAnnotationMatch, remapAdviceFormals, setForParameterAnnotationMatch
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Konstruktordetails
-
ExactAnnotationFieldTypePattern
-
ExactAnnotationFieldTypePattern
-
-
Methodendetails
-
resolveBindings
resolve one of these funky things. Need to:
(a) Check the formal is bound
(b) Check the annotation type is valid- Setzt außer Kraft:
resolveBindings
in KlasseExactAnnotationTypePattern
-
write
- Setzt außer Kraft:
write
in KlasseExactAnnotationTypePattern
- Löst aus:
IOException
-
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
accept
- Setzt außer Kraft:
accept
in KlasseExactAnnotationTypePattern
-
equals
- Setzt außer Kraft:
equals
in KlasseExactAnnotationTypePattern
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlasseExactAnnotationTypePattern
-
fastMatches
- Setzt außer Kraft:
fastMatches
in KlasseExactAnnotationTypePattern
-
getAnnotationType
- Setzt außer Kraft:
getAnnotationType
in KlasseExactAnnotationTypePattern
-
getAnnotationValues
- Setzt außer Kraft:
getAnnotationValues
in KlasseExactAnnotationTypePattern
-
getResolvedAnnotationType
- Setzt außer Kraft:
getResolvedAnnotationType
in KlasseExactAnnotationTypePattern
-
matches
- Setzt außer Kraft:
matches
in KlasseExactAnnotationTypePattern
-
matches
- Setzt außer Kraft:
matches
in KlasseExactAnnotationTypePattern
-
matchesRuntimeType
- Setzt außer Kraft:
matchesRuntimeType
in KlasseExactAnnotationTypePattern
-
parameterizeWith
- Setzt außer Kraft:
parameterizeWith
in KlasseExactAnnotationTypePattern
-
resolve
- Setzt außer Kraft:
resolve
in KlasseExactAnnotationTypePattern
-
toString
- Setzt außer Kraft:
toString
in KlasseExactAnnotationTypePattern
-