public class TypeAnnotation extends Annotation
Modifier and Type | Field and Description |
---|---|
TargetInfo |
targetInfo |
TypePathInfo[] |
typePath |
elementValues, referencedClasses, u2elementValuesCount, u2typeIndex
processingFlags, processingInfo
Constructor and Description |
---|
TypeAnnotation()
Creates an uninitialized TypeAnnotation.
|
TypeAnnotation(int u2typeIndex,
int u2elementValuesCount,
ElementValue[] elementValues,
TargetInfo targetInfo,
TypePathInfo[] typePath)
Creates an initialized TypeAnnotation.
|
Modifier and Type | Method and Description |
---|---|
void |
targetInfoAccept(Clazz clazz,
Field field,
TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
|
void |
targetInfoAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
|
void |
targetInfoAccept(Clazz clazz,
Method method,
TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
|
void |
targetInfoAccept(Clazz clazz,
TargetInfoVisitor targetInfoVisitor)
Applies the given visitor to the target info.
|
void |
typePathInfosAccept(Clazz clazz,
Field field,
TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
|
void |
typePathInfosAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
TypeAnnotation typeAnnotation,
TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
|
void |
typePathInfosAccept(Clazz clazz,
Method method,
TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
|
void |
typePathInfosAccept(Clazz clazz,
TypePathInfoVisitor typePathVisitor)
Applies the given visitor to all type path elements.
|
elementValueAccept, elementValuesAccept, getType, referencedClassAccept, referencedClassesAccept
getProcessingFlags, getProcessingInfo, setProcessingFlags, setProcessingInfo
public TargetInfo targetInfo
public TypePathInfo[] typePath
public TypeAnnotation()
public TypeAnnotation(int u2typeIndex, int u2elementValuesCount, ElementValue[] elementValues, TargetInfo targetInfo, TypePathInfo[] typePath)
public void targetInfoAccept(Clazz clazz, TargetInfoVisitor targetInfoVisitor)
public void targetInfoAccept(Clazz clazz, Field field, TargetInfoVisitor targetInfoVisitor)
public void targetInfoAccept(Clazz clazz, Method method, TargetInfoVisitor targetInfoVisitor)
public void targetInfoAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TargetInfoVisitor targetInfoVisitor)
public void typePathInfosAccept(Clazz clazz, TypePathInfoVisitor typePathVisitor)
public void typePathInfosAccept(Clazz clazz, Field field, TypePathInfoVisitor typePathVisitor)
public void typePathInfosAccept(Clazz clazz, Method method, TypePathInfoVisitor typePathVisitor)
public void typePathInfosAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, TypeAnnotation typeAnnotation, TypePathInfoVisitor typePathVisitor)