Package org.aspectj.weaver.patterns
Class AndAnnotationTypePattern
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.AnnotationTypePattern
-
- org.aspectj.weaver.patterns.AndAnnotationTypePattern
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation
public class AndAnnotationTypePattern 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 AndAnnotationTypePattern(AnnotationTypePattern left, AnnotationTypePattern right)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectaccept(PatternNodeVisitor visitor, Object data)booleanequals(Object obj)AnnotationTypePatterngetLeft()AnnotationTypePatterngetRight()inthashCode()FuzzyBooleanmatches(AnnotatedElement annotated)FuzzyBooleanmatches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)AnnotationTypePatternparameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context)voidresolve(World world)AnnotationTypePatternresolveBindings(IScope scope, Bindings bindings, boolean allowBinding)voidsetForParameterAnnotationMatch()StringtoString()Objecttraverse(PatternNodeVisitor visitor, Object data)voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.AnnotationTypePattern
fastMatches, isAny, isForParameterAnnotationMatch, remapAdviceFormals
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
-
-
-
Constructor Detail
-
AndAnnotationTypePattern
public AndAnnotationTypePattern(AnnotationTypePattern left, AnnotationTypePattern right)
-
-
Method Detail
-
matches
public FuzzyBoolean matches(AnnotatedElement annotated)
- Specified by:
matchesin classAnnotationTypePattern
-
matches
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
- Specified by:
matchesin classAnnotationTypePattern
-
resolve
public void resolve(World world)
- Specified by:
resolvein classAnnotationTypePattern
-
resolveBindings
public AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding)
- Overrides:
resolveBindingsin classAnnotationTypePattern
-
parameterizeWith
public AnnotationTypePattern parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)
- Specified by:
parameterizeWithin classAnnotationTypePattern
-
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classPatternNode- Throws:
IOException
-
getLeft
public AnnotationTypePattern getLeft()
-
getRight
public AnnotationTypePattern getRight()
-
accept
public Object accept(PatternNodeVisitor visitor, Object data)
- Specified by:
acceptin classPatternNode
-
traverse
public Object traverse(PatternNodeVisitor visitor, Object data)
- Overrides:
traversein classPatternNode
-
setForParameterAnnotationMatch
public void setForParameterAnnotationMatch()
- Overrides:
setForParameterAnnotationMatchin classAnnotationTypePattern
-
-