public class AnyAnnotationTypePattern extends AnnotationTypePattern
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILD
end, sourceContext, start
Constructor and Description |
---|
AnyAnnotationTypePattern() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(PatternNodeVisitor visitor,
java.lang.Object data) |
FuzzyBoolean |
fastMatches(AnnotatedElement annotated) |
boolean |
isAny() |
FuzzyBoolean |
matches(AnnotatedElement annotated) |
FuzzyBoolean |
matches(AnnotatedElement annotated,
ResolvedType[] parameterAnnotations) |
AnnotationTypePattern |
parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> arg0,
World w) |
void |
resolve(World world) |
void |
setForParameterAnnotationMatch() |
java.lang.String |
toString() |
void |
write(CompressingDataOutputStream s) |
isForParameterAnnotationMatch, read, remapAdviceFormals, resolveBindings
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
public FuzzyBoolean fastMatches(AnnotatedElement annotated)
fastMatches
in class AnnotationTypePattern
public FuzzyBoolean matches(AnnotatedElement annotated)
matches
in class AnnotationTypePattern
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
matches
in class AnnotationTypePattern
public void write(CompressingDataOutputStream s) throws java.io.IOException
write
in class PatternNode
java.io.IOException
public void resolve(World world)
resolve
in class AnnotationTypePattern
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept
in class PatternNode
public boolean isAny()
isAny
in class AnnotationTypePattern
public AnnotationTypePattern parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> arg0, World w)
parameterizeWith
in class AnnotationTypePattern
public void setForParameterAnnotationMatch()
setForParameterAnnotationMatch
in class AnnotationTypePattern