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, resolvedAND, ANY, ANY_KEY, BINDING, BINDINGFIELD, BINDINGFIELD2, ELLIPSIS, ELLIPSIS_KEY, EXACT, EXACTFIELD, NONE, NOT, OR, WILDend, 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, verifyIsAnnotationTypeisAny, isForParameterAnnotationMatch, setForParameterAnnotationMatchcopyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetEnd, getStartpublic BindingAnnotationFieldTypePattern(UnresolvedType formalType, int formalIndex, UnresolvedType theAnnotationType)
public void resolveBinding(World world)
public AnnotationTypePattern parameterizeWith(java.util.Map typeVariableMap, World w)
parameterizeWith in class ExactAnnotationTypePatternpublic int getFormalIndex()
getFormalIndex in interface BindingPatternpublic boolean equals(java.lang.Object obj)
equals in class ExactAnnotationTypePatternpublic int hashCode()
hashCode in class ExactAnnotationTypePatternpublic AnnotationTypePattern remapAdviceFormals(IntMap bindings)
remapAdviceFormals in class AnnotationTypePatternpublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in class ExactAnnotationTypePatternjava.io.IOExceptionpublic static AnnotationTypePattern read(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOExceptionpublic static AnnotationTypePattern read2(VersionedDataInputStream s, ISourceContext context) throws java.io.IOException
java.io.IOExceptionpublic FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
matches in class ExactAnnotationTypePatternpublic UnresolvedType getFormalType()