public class ExactAnnotationFieldTypePattern extends ExactAnnotationTypePattern
before(Level lev): execution(* *(..)) && @annotation(TraceAnnotation(lev))
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 |
---|
ExactAnnotationFieldTypePattern(ExactAnnotationTypePattern p,
java.lang.String formalName) |
ExactAnnotationFieldTypePattern(UnresolvedType annotationType,
java.lang.String formalName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
accept(PatternNodeVisitor visitor,
java.lang.Object data) |
boolean |
equals(java.lang.Object obj) |
FuzzyBoolean |
fastMatches(AnnotatedElement annotated) |
UnresolvedType |
getAnnotationType() |
java.util.Map |
getAnnotationValues() |
ResolvedType |
getResolvedAnnotationType() |
int |
hashCode() |
FuzzyBoolean |
matches(AnnotatedElement annotated) |
FuzzyBoolean |
matches(AnnotatedElement annotated,
ResolvedType[] parameterAnnotations) |
FuzzyBoolean |
matchesRuntimeType(AnnotatedElement annotated) |
AnnotationTypePattern |
parameterizeWith(java.util.Map typeVariableMap,
World w) |
static AnnotationTypePattern |
read(VersionedDataInputStream s,
ISourceContext context) |
void |
resolve(World world) |
AnnotationTypePattern |
resolveBindings(IScope scope,
Bindings bindings,
boolean allowBinding)
resolve one of these funky things.
|
java.lang.String |
toString() |
void |
write(CompressingDataOutputStream s) |
maybeGetSimpleName, verifyIsAnnotationType
isAny, isForParameterAnnotationMatch, remapAdviceFormals, setForParameterAnnotationMatch
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
public ExactAnnotationFieldTypePattern(ExactAnnotationTypePattern p, java.lang.String formalName)
public ExactAnnotationFieldTypePattern(UnresolvedType annotationType, java.lang.String formalName)
public AnnotationTypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding)
resolveBindings
in class ExactAnnotationTypePattern
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 java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept
in class ExactAnnotationTypePattern
public boolean equals(java.lang.Object obj)
equals
in class ExactAnnotationTypePattern
public int hashCode()
hashCode
in class ExactAnnotationTypePattern
public FuzzyBoolean fastMatches(AnnotatedElement annotated)
fastMatches
in class ExactAnnotationTypePattern
public UnresolvedType getAnnotationType()
getAnnotationType
in class ExactAnnotationTypePattern
public java.util.Map getAnnotationValues()
getAnnotationValues
in class ExactAnnotationTypePattern
public ResolvedType getResolvedAnnotationType()
getResolvedAnnotationType
in class ExactAnnotationTypePattern
public FuzzyBoolean matches(AnnotatedElement annotated, ResolvedType[] parameterAnnotations)
matches
in class ExactAnnotationTypePattern
public FuzzyBoolean matches(AnnotatedElement annotated)
matches
in class ExactAnnotationTypePattern
public FuzzyBoolean matchesRuntimeType(AnnotatedElement annotated)
matchesRuntimeType
in class ExactAnnotationTypePattern
public AnnotationTypePattern parameterizeWith(java.util.Map typeVariableMap, World w)
parameterizeWith
in class ExactAnnotationTypePattern
public void resolve(World world)
resolve
in class ExactAnnotationTypePattern
public java.lang.String toString()
toString
in class ExactAnnotationTypePattern