public class AndAnnotationTypePattern extends AnnotationTypePattern
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILDend, sourceContext, start| Constructor and Description |
|---|
AndAnnotationTypePattern(AnnotationTypePattern left,
AnnotationTypePattern right) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(PatternNodeVisitor visitor,
java.lang.Object data) |
boolean |
equals(java.lang.Object obj) |
AnnotationTypePattern |
getLeft() |
AnnotationTypePattern |
getRight() |
int |
hashCode() |
FuzzyBoolean |
matches(AnnotatedElement annotated) |
FuzzyBoolean |
matches(AnnotatedElement annotated,
ResolvedType[] parameterAnnotations) |
AnnotationTypePattern |
parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> typeVariableMap,
World w) |
static AnnotationTypePattern |
read(VersionedDataInputStream s,
ISourceContext context) |
void |
resolve(World world) |
AnnotationTypePattern |
resolveBindings(IScope scope,
Bindings bindings,
boolean allowBinding)
This can modify in place, or return a new TypePattern if the type changes.
|
void |
setForParameterAnnotationMatch() |
java.lang.String |
toString() |
java.lang.Object |
traverse(PatternNodeVisitor visitor,
java.lang.Object data) |
void |
write(CompressingDataOutputStream s) |
fastMatches, isAny, isForParameterAnnotationMatch, remapAdviceFormalscopyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocationpublic AndAnnotationTypePattern(AnnotationTypePattern left, AnnotationTypePattern right)
public FuzzyBoolean matches(AnnotatedElement annotated)
matches in class AnnotationTypePatternpublic FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
matches in class AnnotationTypePatternpublic void resolve(World world)
resolve in class AnnotationTypePatternpublic AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding)
AnnotationTypePatternresolveBindings in class AnnotationTypePatternpublic AnnotationTypePattern parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> typeVariableMap, World w)
parameterizeWith in class AnnotationTypePatternpublic static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOExceptionpublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in class PatternNodejava.io.IOExceptionpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic AnnotationTypePattern getLeft()
public AnnotationTypePattern getRight()
public java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept in class PatternNodepublic java.lang.Object traverse(PatternNodeVisitor visitor, java.lang.Object data)
traverse in class PatternNodepublic void setForParameterAnnotationMatch()
setForParameterAnnotationMatch in class AnnotationTypePattern