Package org.aspectj.weaver.patterns
Klasse AnnotationTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
- Bekannte direkte Unterklassen:
AndAnnotationTypePattern,AnyAnnotationTypePattern,ExactAnnotationTypePattern,NotAnnotationTypePattern,OrAnnotationTypePattern,WildAnnotationTypePattern
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final bytestatic final AnnotationTypePatternstatic final bytestatic final bytestatic final bytestatic final bytestatic final AnnotationTypePatternstatic final bytestatic final bytestatic final bytestatic final AnnotationTypePattern[]static final bytestatic final bytestatic final byteVon Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Konstruktorübersicht
KonstruktorenModifiziererKonstruktorBeschreibungprotectedTODO: write, read, equals & hashCode both in annotation hierarchy and in altered TypePattern hierarchy -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfastMatches(AnnotatedElement annotated) booleanisAny()booleanabstract FuzzyBooleanmatches(AnnotatedElement annotated) abstract FuzzyBooleanmatches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) abstract AnnotationTypePatternparameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals(IntMap bindings) abstract voidresolveBindings(IScope scope, Bindings bindings, boolean allowBinding) This can modify in place, or return a new TypePattern if the type changes.voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
accept, copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, write, writeLocation
-
Felddetails
-
ANY
-
ELLIPSIS
-
NONE
-
EXACT
public static final byte EXACT- Siehe auch:
-
BINDING
public static final byte BINDING- Siehe auch:
-
NOT
public static final byte NOT- Siehe auch:
-
OR
public static final byte OR- Siehe auch:
-
AND
public static final byte AND- Siehe auch:
-
ELLIPSIS_KEY
public static final byte ELLIPSIS_KEY- Siehe auch:
-
ANY_KEY
public static final byte ANY_KEY- Siehe auch:
-
WILD
public static final byte WILD- Siehe auch:
-
EXACTFIELD
public static final byte EXACTFIELD- Siehe auch:
-
BINDINGFIELD
public static final byte BINDINGFIELD- Siehe auch:
-
BINDINGFIELD2
public static final byte BINDINGFIELD2- Siehe auch:
-
-
Konstruktordetails
-
AnnotationTypePattern
protected AnnotationTypePattern()TODO: write, read, equals & hashCode both in annotation hierarchy and in altered TypePattern hierarchy
-
-
Methodendetails
-
matches
-
matches
public abstract FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) -
fastMatches
-
remapAdviceFormals
-
resolve
-
parameterizeWith
public abstract AnnotationTypePattern parameterizeWith(Map<String, UnresolvedType> typeVariableMap, World w) -
isAny
public boolean isAny() -
resolveBindings
This can modify in place, or return a new TypePattern if the type changes. -
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
setForParameterAnnotationMatch
public void setForParameterAnnotationMatch() -
isForParameterAnnotationMatch
public boolean isForParameterAnnotationMatch()
-