Class AnyAnnotationTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.AnnotationTypePattern
org.aspectj.weaver.patterns.AnyAnnotationTypePattern
- All Implemented Interfaces:
IHasPosition, IHasSourceLocation
-
Field Summary
Fields 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 TypeMethodDescriptionaccept(PatternNodeVisitor visitor, Object data) fastMatches(AnnotatedElement annotated) booleanisAny()matches(AnnotatedElement annotated) matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations) parameterizeWith(Map<String, UnresolvedType> arg0, World w) voidvoidtoString()voidMethods inherited from class AnnotationTypePattern
isForParameterAnnotationMatch, read, remapAdviceFormals, resolveBindingsModifier and TypeMethodDescriptionbooleanstatic AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context) remapAdviceFormals(IntMap bindings) resolveBindings(IScope scope, Bindings bindings, boolean allowBinding) This can modify in place, or return a new TypePattern if the type changes.Methods 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
-
Constructor Details
-
AnyAnnotationTypePattern
public AnyAnnotationTypePattern()
-
-
Method Details
-
fastMatches
- Overrides:
fastMatchesin classAnnotationTypePattern
-
matches
- Specified by:
matchesin classAnnotationTypePattern
-
matches
- Specified by:
matchesin classAnnotationTypePattern
-
write
- Specified by:
writein classPatternNode- Throws:
IOException
-
resolve
- Specified by:
resolvein classAnnotationTypePattern
-
toString
-
accept
- Specified by:
acceptin classPatternNode
-
isAny
public boolean isAny()- Overrides:
isAnyin classAnnotationTypePattern
-
parameterizeWith
- Specified by:
parameterizeWithin classAnnotationTypePattern
-
setForParameterAnnotationMatch
public void setForParameterAnnotationMatch()- Overrides:
setForParameterAnnotationMatchin classAnnotationTypePattern
-