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
- Author:
- colyer TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
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, WILDFields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaccept(PatternNodeVisitor visitor, Object data)booleangetLeft()getRight()inthashCode()matches(AnnotatedElement annotated)matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context)voidresolveBindings(IScope scope, Bindings bindings, boolean allowBinding)This can modify in place, or return a new TypePattern if the type changes.voidtoString()traverse(PatternNodeVisitor visitor, Object data)voidMethods inherited from class org.aspectj.weaver.patterns.AnnotationTypePattern
fastMatches, isAny, isForParameterAnnotationMatch, remapAdviceFormalsMethods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
Constructor Details
-
AndAnnotationTypePattern
-
-
Method Details
-
matches
- Specified by:
matchesin classAnnotationTypePattern
-
matches
- Specified by:
matchesin classAnnotationTypePattern
-
resolve
- Specified by:
resolvein classAnnotationTypePattern
-
resolveBindings
public AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding)Description copied from class:AnnotationTypePatternThis can modify in place, or return a new TypePattern if the type changes.- 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
- Specified by:
writein classPatternNode- Throws:
IOException
-
equals
-
hashCode
public int hashCode() -
toString
-
getLeft
-
getRight
-
accept
- Specified by:
acceptin classPatternNode
-
traverse
- Overrides:
traversein classPatternNode
-
setForParameterAnnotationMatch
public void setForParameterAnnotationMatch()- Overrides:
setForParameterAnnotationMatchin classAnnotationTypePattern
-