Package org.aspectj.weaver.patterns
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
public class AnyAnnotationTypePattern extends AnnotationTypePattern
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.patterns.AnnotationTypePattern
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILD
-
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
-
Constructor Summary
Constructors Constructor Description AnyAnnotationTypePattern()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PatternNodeVisitor visitor, Object data)FuzzyBooleanfastMatches(AnnotatedElement annotated)booleanisAny()FuzzyBooleanmatches(AnnotatedElement annotated)FuzzyBooleanmatches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)AnnotationTypePatternparameterizeWith(Map<String,UnresolvedType> arg0, World w)voidresolve(World world)voidsetForParameterAnnotationMatch()StringtoString()voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.AnnotationTypePattern
isForParameterAnnotationMatch, read, remapAdviceFormals, resolveBindings
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
-
-
-
Method Detail
-
fastMatches
public FuzzyBoolean fastMatches(AnnotatedElement annotated)
- Overrides:
fastMatchesin classAnnotationTypePattern
-
matches
public FuzzyBoolean matches(AnnotatedElement annotated)
- Specified by:
matchesin classAnnotationTypePattern
-
matches
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
- Specified by:
matchesin classAnnotationTypePattern
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classPatternNode- Throws:
IOException
-
resolve
public void resolve(World world)
- Specified by:
resolvein classAnnotationTypePattern
-
accept
public Object accept(PatternNodeVisitor visitor, Object data)
- Specified by:
acceptin classPatternNode
-
isAny
public boolean isAny()
- Overrides:
isAnyin classAnnotationTypePattern
-
parameterizeWith
public AnnotationTypePattern parameterizeWith(Map<String,UnresolvedType> arg0, World w)
- Specified by:
parameterizeWithin classAnnotationTypePattern
-
setForParameterAnnotationMatch
public void setForParameterAnnotationMatch()
- Overrides:
setForParameterAnnotationMatchin classAnnotationTypePattern
-
-