Class BindingAnnotationTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
org.aspectj.weaver.patterns.ExactAnnotationTypePattern
org.aspectj.weaver.patterns.BindingAnnotationTypePattern
- All Implemented Interfaces:
IHasPosition, IHasSourceLocation, BindingPattern
public class BindingAnnotationTypePattern
extends ExactAnnotationTypePattern
implements BindingPattern
-
Field Summary
FieldsFields inherited from class ExactAnnotationTypePattern
annotationType, bindingPattern, formalName, resolvedModifier and TypeFieldDescriptionprotected UnresolvedTypeprotected booleanprotected Stringprotected booleanFields inherited from class AnnotationTypePattern
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILDModifier and TypeFieldDescriptionstatic 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 byteFields inherited from class PatternNode
end, sourceContext, start -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintinthashCode()parameterizeWith(Map typeVariableMap, World w) static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals(IntMap bindings) voidresolveBinding(World world) voidMethods inherited from class ExactAnnotationTypePattern
accept, fastMatches, getAnnotationType, getAnnotationValues, getResolvedAnnotationType, matches, matches, matchesRuntimeType, maybeGetSimpleName, resolve, resolveBindings, toString, verifyIsAnnotationTypeModifier and TypeMethodDescriptionaccept(PatternNodeVisitor visitor, Object data) fastMatches(AnnotatedElement annotated) matches(AnnotatedElement annotated) matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) matchesRuntimeType(AnnotatedElement annotated) protected StringvoidresolveBindings(IScope scope, Bindings bindings, boolean allowBinding) This can modify in place, or return a new TypePattern if the type changes.toString()protected voidverifyIsAnnotationType(ResolvedType type, IScope scope) Methods inherited from class AnnotationTypePattern
isAny, isForParameterAnnotationMatch, setForParameterAnnotationMatchMethods inherited from class PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationModifier and TypeMethodDescriptionvoidcopyLocationFrom(PatternNode other) intgetEnd()The ending index of this location in the character stream This points to the last character in this token.intgetStart()The starting index of this location in the character stream.voidreadLocation(ISourceContext context, DataInputStream s) voidsetLocation(ISourceContext sourceContext, int start, int end) traverse(PatternNodeVisitor visitor, Object data) void
-
Field Details
-
formalIndex
protected int formalIndex
-
-
Constructor Details
-
BindingAnnotationTypePattern
- Parameters:
annotationType-
-
BindingAnnotationTypePattern
-
-
Method Details
-
resolveBinding
-
parameterizeWith
- Overrides:
parameterizeWithin classExactAnnotationTypePattern
-
getFormalIndex
public int getFormalIndex()- Specified by:
getFormalIndexin interfaceBindingPattern
-
equals
- Overrides:
equalsin classExactAnnotationTypePattern
-
hashCode
public int hashCode()- Overrides:
hashCodein classExactAnnotationTypePattern
-
remapAdviceFormals
- Overrides:
remapAdviceFormalsin classAnnotationTypePattern
-
write
- Overrides:
writein classExactAnnotationTypePattern- Throws:
IOException
-
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Throws:
IOException
-