Package org.aspectj.weaver.patterns
Klasse BindingAnnotationFieldTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
org.aspectj.weaver.patterns.ExactAnnotationTypePattern
org.aspectj.weaver.patterns.BindingAnnotationFieldTypePattern
- Alle implementierten Schnittstellen:
IHasPosition
,IHasSourceLocation
,BindingPattern
public class BindingAnnotationFieldTypePattern
extends ExactAnnotationTypePattern
implements BindingPattern
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
annotationType, 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
KonstruktorBeschreibungBindingAnnotationFieldTypePattern
(UnresolvedType formalType, int formalIndex, UnresolvedType theAnnotationType) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
int
int
hashCode()
matches
(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) parameterizeWith
(Map typeVariableMap, World w) static AnnotationTypePattern
read
(VersionedDataInputStream s, ISourceContext context) static AnnotationTypePattern
read2
(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals
(IntMap bindings) void
resolveBinding
(World world) void
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.ExactAnnotationTypePattern
accept, fastMatches, getAnnotationType, getAnnotationValues, getResolvedAnnotationType, matches, matchesRuntimeType, maybeGetSimpleName, resolve, resolveBindings, toString, verifyIsAnnotationType
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.AnnotationTypePattern
isAny, isForParameterAnnotationMatch, setForParameterAnnotationMatch
Von Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden org.aspectj.weaver.IHasPosition
getEnd, getStart
-
Felddetails
-
formalIndex
protected int formalIndex
-
-
Konstruktordetails
-
BindingAnnotationFieldTypePattern
public BindingAnnotationFieldTypePattern(UnresolvedType formalType, int formalIndex, UnresolvedType theAnnotationType)
-
-
Methodendetails
-
resolveBinding
-
parameterizeWith
- Setzt außer Kraft:
parameterizeWith
in KlasseExactAnnotationTypePattern
-
getFormalIndex
public int getFormalIndex()- Angegeben von:
getFormalIndex
in SchnittstelleBindingPattern
-
equals
- Setzt außer Kraft:
equals
in KlasseExactAnnotationTypePattern
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlasseExactAnnotationTypePattern
-
remapAdviceFormals
- Setzt außer Kraft:
remapAdviceFormals
in KlasseAnnotationTypePattern
-
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
-
read2
public static AnnotationTypePattern read2(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
matches
- Setzt außer Kraft:
matches
in KlasseExactAnnotationTypePattern
-
getFormalType
-