public class BindingAnnotationTypePattern extends ExactAnnotationTypePattern implements BindingPattern
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 |
---|
BindingAnnotationTypePattern(FormalBinding binding) |
BindingAnnotationTypePattern(UnresolvedType annotationType,
int index) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
getFormalIndex() |
int |
hashCode() |
AnnotationTypePattern |
parameterizeWith(java.util.Map typeVariableMap,
World w) |
static AnnotationTypePattern |
read(VersionedDataInputStream s,
ISourceContext context) |
AnnotationTypePattern |
remapAdviceFormals(IntMap bindings) |
void |
resolveBinding(World world) |
void |
write(CompressingDataOutputStream s) |
accept, fastMatches, getAnnotationType, getAnnotationValues, getResolvedAnnotationType, matches, 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 BindingAnnotationTypePattern(UnresolvedType annotationType, int index)
annotationType
- public BindingAnnotationTypePattern(FormalBinding binding)
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