public class TypeAnnotationData extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AnnotationData.ElemValuePair
AnnotationElemValue
Used to store Annotation Data
|
| Modifier and Type | Field and Description |
|---|---|
protected TypeAnnotationTargetInfoData |
targetInfo |
protected TypeAnnotationTypes.ETargetType |
targetType |
protected TypeAnnotationTypePathData |
typePath |
| Constructor and Description |
|---|
TypeAnnotationData(org.openjdk.asmtools.jasm.Argument typeCPX,
boolean invisible) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AnnotationData.ElemValuePair elemValuePair) |
void |
addTypePathEntry(TypeAnnotationTypes.TypePathEntry path) |
int |
getLength() |
default String |
tabString(int tabLevel) |
String |
toString() |
String |
toString(int tabLevel) |
void |
write(CheckedDataOutputStream out) |
protected TypeAnnotationTypes.ETargetType targetType
protected TypeAnnotationTargetInfoData targetInfo
protected TypeAnnotationTypePathData typePath
public TypeAnnotationData(org.openjdk.asmtools.jasm.Argument typeCPX,
boolean invisible)
public int getLength()
public void write(CheckedDataOutputStream out) throws IOException
IOExceptionpublic void addTypePathEntry(TypeAnnotationTypes.TypePathEntry path)
public String toString(int tabLevel)
public void add(AnnotationData.ElemValuePair elemValuePair)
public String tabString(int tabLevel)
Copyright © 2021. All Rights Reserved.