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
Modifizierer und TypFeldBeschreibungstatic final byte
static final AnnotationTypePattern
static final byte
static final byte
static final byte
static final byte
static final AnnotationTypePattern
static final byte
static final byte
static final byte
static final AnnotationTypePattern[]
static final byte
static final byte
static final byte
Von Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Konstruktorübersicht
ModifiziererKonstruktorBeschreibungprotected
TODO: write, read, equals & hashCode both in annotation hierarchy and in altered TypePattern hierarchy -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfastMatches
(AnnotatedElement annotated) boolean
isAny()
boolean
abstract FuzzyBoolean
matches
(AnnotatedElement annotated) abstract FuzzyBoolean
matches
(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) abstract AnnotationTypePattern
parameterizeWith
(Map<String, UnresolvedType> typeVariableMap, World w) static AnnotationTypePattern
read
(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals
(IntMap bindings) abstract void
resolveBindings
(IScope scope, Bindings bindings, boolean allowBinding) This can modify in place, or return a new TypePattern if the type changes.void
Von 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()
-