public class BindingAnnotationFieldTypePattern extends ExactAnnotationTypePattern implements BindingPattern
before(Level lev): execution(* *(..)) && @annotation(TraceAnnotation(lev))
Modifier and Type | Field and Description |
---|---|
protected int |
formalIndex |
annotationType, bindingPattern, formalName, resolved
AND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILD
end, sourceContext, start
Constructor and Description |
---|
BindingAnnotationFieldTypePattern(UnresolvedType formalType,
int formalIndex,
UnresolvedType theAnnotationType) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getFormalIndex() |
UnresolvedType |
getFormalType() |
int |
hashCode() |
FuzzyBoolean |
matches(AnnotatedElement annotated,
ResolvedType[] parameterAnnotations) |
AnnotationTypePattern |
parameterizeWith(java.util.Map typeVariableMap,
World w) |
static AnnotationTypePattern |
read(VersionedDataInputStream s,
ISourceContext context) |
static AnnotationTypePattern |
read2(VersionedDataInputStream s,
ISourceContext context) |
AnnotationTypePattern |
remapAdviceFormals(IntMap bindings) |
void |
resolveBinding(World world) |
void |
write(CompressingDataOutputStream s) |
accept, fastMatches, getAnnotationType, getAnnotationValues, getResolvedAnnotationType, matches, matchesRuntimeType, maybeGetSimpleName, resolve, resolveBindings, toString, verifyIsAnnotationType
isAny, isForParameterAnnotationMatch, setForParameterAnnotationMatch
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getEnd, getStart
public BindingAnnotationFieldTypePattern(UnresolvedType formalType, int formalIndex, UnresolvedType theAnnotationType)
public void resolveBinding(World world)
public AnnotationTypePattern parameterizeWith(java.util.Map typeVariableMap, World w)
parameterizeWith
in class ExactAnnotationTypePattern
public int getFormalIndex()
getFormalIndex
in interface BindingPattern
public boolean equals(java.lang.Object obj)
equals
in class ExactAnnotationTypePattern
public int hashCode()
hashCode
in class ExactAnnotationTypePattern
public AnnotationTypePattern remapAdviceFormals(IntMap bindings)
remapAdviceFormals
in class AnnotationTypePattern
public void write(CompressingDataOutputStream s) throws java.io.IOException
write
in class ExactAnnotationTypePattern
java.io.IOException
public static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOException
public static AnnotationTypePattern read2(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOException
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
matches
in class ExactAnnotationTypePattern
public UnresolvedType getFormalType()