Package org.aspectj.weaver.patterns
Class BindingAnnotationTypePattern
- java.lang.Object
-
- org.aspectj.weaver.patterns.PatternNode
-
- org.aspectj.weaver.patterns.AnnotationTypePattern
-
- org.aspectj.weaver.patterns.ExactAnnotationTypePattern
-
- org.aspectj.weaver.patterns.BindingAnnotationTypePattern
-
- All Implemented Interfaces:
IHasPosition,IHasSourceLocation,BindingPattern
public class BindingAnnotationTypePattern extends ExactAnnotationTypePattern implements BindingPattern
-
-
Field Summary
Fields Modifier and Type Field Description protected intformalIndex-
Fields inherited from class org.aspectj.weaver.patterns.ExactAnnotationTypePattern
annotationType, bindingPattern, formalName, resolved
-
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 BindingAnnotationTypePattern(FormalBinding binding)BindingAnnotationTypePattern(UnresolvedType annotationType, int index)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)intgetFormalIndex()inthashCode()AnnotationTypePatternparameterizeWith(Map typeVariableMap, World w)static AnnotationTypePatternread(VersionedDataInputStream s, ISourceContext context)AnnotationTypePatternremapAdviceFormals(IntMap bindings)voidresolveBinding(World world)voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.patterns.ExactAnnotationTypePattern
accept, fastMatches, getAnnotationType, getAnnotationValues, getResolvedAnnotationType, matches, matches, matchesRuntimeType, maybeGetSimpleName, resolve, resolveBindings, toString, verifyIsAnnotationType
-
Methods inherited from class org.aspectj.weaver.patterns.AnnotationTypePattern
isAny, isForParameterAnnotationMatch, setForParameterAnnotationMatch
-
Methods inherited from class org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.aspectj.weaver.IHasPosition
getEnd, getStart
-
-
-
-
Constructor Detail
-
BindingAnnotationTypePattern
public BindingAnnotationTypePattern(UnresolvedType annotationType, int index)
-
BindingAnnotationTypePattern
public BindingAnnotationTypePattern(FormalBinding binding)
-
-
Method Detail
-
resolveBinding
public void resolveBinding(World world)
-
parameterizeWith
public AnnotationTypePattern parameterizeWith(Map typeVariableMap, World w)
- Overrides:
parameterizeWithin classExactAnnotationTypePattern
-
getFormalIndex
public int getFormalIndex()
- Specified by:
getFormalIndexin interfaceBindingPattern
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classExactAnnotationTypePattern
-
hashCode
public int hashCode()
- Overrides:
hashCodein classExactAnnotationTypePattern
-
remapAdviceFormals
public AnnotationTypePattern remapAdviceFormals(IntMap bindings)
- Overrides:
remapAdviceFormalsin classAnnotationTypePattern
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Overrides:
writein classExactAnnotationTypePattern- Throws:
IOException
-
read
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
-