RuntimeVisibleTypeAnnotations attribute and
RuntimeInvisibleTypeAnnotations attribute.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | |
| pack-priv static class | TypeAnnotationsAttribute.
To visit each elements of the type annotation attribute,
call |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | invisibleTag
The name of the |
| public static final String | visibleTag
The name of the |
| Access | Constructor and Description |
|---|---|
| public | TypeAnnotationsAttribute(ConstPool
constant pool cp, String attribute name ( attrname, byte[] visibleTag or
invisibleTag).the contents of this attribute. It does not
include info)attribute_name_index or
attribute_length.Constructs a |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public AttributeInfo | |
| pack-priv void | getRefClasses(Map<String, String> classnames)
Overrides javassist.
|
| public int | |
| pack-priv void | renameClass(String
a JVM class name. oldname, String a JVM class name. newname)Overrides javassist.
|
| pack-priv void |
| invisibleTag | back to summary |
|---|---|
| public static final String invisibleTag The name of the | |
| visibleTag | back to summary |
|---|---|
| public static final String visibleTag The name of the | |
| TypeAnnotationsAttribute | back to summary |
|---|---|
| public TypeAnnotationsAttribute(ConstPool cp, String attrname, byte[] info) Constructs a | |
| TypeAnnotationsAttribute | back to summary |
|---|---|
pack-priv TypeAnnotationsAttribute(ConstPool cp, int n, DataInputStream in) throws IOException
| |
| copy | back to summary |
|---|---|
| public AttributeInfo copy(ConstPool newCp, Map<String, String> classnames) Overrides javassist. Copies this attribute and returns a new copy.
| |
| getRefClasses | back to summary |
|---|---|
| pack-priv void getRefClasses(Map<String, String> classnames) Overrides javassist.
| |
| numAnnotations | back to summary |
|---|---|
| public int numAnnotations() Returns | |
| renameClass | back to summary |
|---|---|
| pack-priv void renameClass(String oldname, String newname) Overrides javassist. | |
| renameClass | back to summary |
|---|---|
| pack-priv void renameClass(Map<String, String> classnames) Overrides javassist.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv TypeAnnotationsAttribute. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | annotationArray(int pos, int num)
Overrides javassist.
|
| sub | back to summary |
|---|---|
| pack-priv TypeAnnotationsAttribute. | |
| Copier | back to summary |
|---|---|
| pack-priv Copier(byte[] attrInfo, ConstPool src, ConstPool dest, Map<String, String> map) | |
| annotationArray | back to summary |
|---|---|
| pack-priv int annotationArray(int pos, int num) throws Exception Overrides javassist.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv TypeAnnotationsAttribute. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | annotationArray(int pos, int num)
Overrides javassist.
|
| sub | back to summary |
|---|---|
| pack-priv TypeAnnotationsAttribute. | |
| Renamer | back to summary |
|---|---|
| pack-priv Renamer(byte[] attrInfo, ConstPool cp, Map<String, String> map) | |
| annotationArray | back to summary |
|---|---|
| pack-priv int annotationArray(int pos, int num) throws Exception Overrides javassist.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Map | |
| pack-priv ConstPool | |
| pack-priv ConstPool | |
| pack-priv TypeAnnotationsWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| classnames | back to summary |
|---|---|
| pack-priv Map<String, String> classnames | |
| destPool | back to summary |
|---|---|
| pack-priv ConstPool destPool | |
| srcPool | back to summary |
|---|---|
| pack-priv ConstPool srcPool | |
| writer | back to summary |
|---|---|
| pack-priv TypeAnnotationsWriter writer | |
| SubCopier | back to summary |
|---|---|
| pack-priv SubCopier(byte[] attrInfo, ConstPool src, ConstPool dest, Map<String, String> map, TypeAnnotationsWriter w) | |
| catchTarget | back to summary |
|---|---|
| pack-priv void catchTarget(int pos, int exceptionTableIndex) throws Exception Overrides javassist.
| |
| emptyTarget | back to summary |
|---|---|
| pack-priv void emptyTarget(int pos, int targetType) throws Exception Overrides javassist.
| |
| formalParameterTarget | back to summary |
|---|---|
| pack-priv void formalParameterTarget(int pos, int formalParameterIndex) throws Exception Overrides javassist.
| |
| localvarTarget | back to summary |
|---|---|
| pack-priv int localvarTarget(int pos, int targetType, int tableLength) throws Exception Overrides javassist.
| |
| localvarTarget | back to summary |
|---|---|
| pack-priv void localvarTarget(int pos, int targetType, int startPc, int length, int index) throws Exception Overrides javassist.
| |
| offsetTarget | back to summary |
|---|---|
| pack-priv void offsetTarget(int pos, int targetType, int offset) throws Exception Overrides javassist.
| |
| supertypeTarget | back to summary |
|---|---|
| pack-priv void supertypeTarget(int pos, int superTypeIndex) throws Exception Overrides javassist.
| |
| throwsTarget | back to summary |
|---|---|
| pack-priv void throwsTarget(int pos, int throwsTypeIndex) throws Exception Overrides javassist.
| |
| typeArgumentTarget | back to summary |
|---|---|
| pack-priv void typeArgumentTarget(int pos, int targetType, int offset, int typeArgumentIndex) throws Exception Overrides javassist.
| |
| typeParameterBoundTarget | back to summary |
|---|---|
| pack-priv void typeParameterBoundTarget(int pos, int targetType, int typeParameterIndex, int boundIndex) throws Exception Overrides javassist.
| |
| typeParameterTarget | back to summary |
|---|---|
| pack-priv void typeParameterTarget(int pos, int targetType, int typeParameterIndex) throws Exception Overrides javassist.
| |
| typePath | back to summary |
|---|---|
| pack-priv int typePath(int pos, int pathLength) throws Exception Overrides javassist.
| |
| typePath | back to summary |
|---|---|
| pack-priv void typePath(int pos, int typePathKind, int typeArgumentIndex) throws Exception Overrides javassist.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv final int | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv void | |
| pack-priv final int | |
| pack-priv int | |
| pack-priv void |
| info | back to summary |
|---|---|
| pack-priv byte[] info | |
| SubWalker | back to summary |
|---|---|
| pack-priv SubWalker(byte[] attrInfo) | |
| catchTarget | back to summary |
|---|---|
| pack-priv void catchTarget(int pos, int exceptionTableIndex) throws Exception | |
| emptyTarget | back to summary |
|---|---|
| pack-priv void emptyTarget(int pos, int targetType) throws Exception | |
| formalParameterTarget | back to summary |
|---|---|
| pack-priv void formalParameterTarget(int pos, int formalParameterIndex) throws Exception | |
| localvarTarget | back to summary |
|---|---|
| pack-priv int localvarTarget(int pos, int targetType, int tableLength) throws Exception | |
| localvarTarget | back to summary |
|---|---|
| pack-priv void localvarTarget(int pos, int targetType, int startPc, int length, int index) throws Exception | |
| offsetTarget | back to summary |
|---|---|
| pack-priv void offsetTarget(int pos, int targetType, int offset) throws Exception | |
| supertypeTarget | back to summary |
|---|---|
| pack-priv void supertypeTarget(int pos, int superTypeIndex) throws Exception | |
| targetInfo | back to summary |
|---|---|
| pack-priv final int targetInfo(int pos, int type) throws Exception | |
| throwsTarget | back to summary |
|---|---|
| pack-priv void throwsTarget(int pos, int throwsTypeIndex) throws Exception | |
| typeArgumentTarget | back to summary |
|---|---|
| pack-priv void typeArgumentTarget(int pos, int targetType, int offset, int typeArgumentIndex) throws Exception | |
| typeParameterBoundTarget | back to summary |
|---|---|
| pack-priv void typeParameterBoundTarget(int pos, int targetType, int typeParameterIndex, int boundIndex) throws Exception | |
| typeParameterTarget | back to summary |
|---|---|
| pack-priv void typeParameterTarget(int pos, int targetType, int typeParameterIndex) throws Exception | |
| typePath | back to summary |
|---|---|
| pack-priv final int typePath(int pos) throws Exception | |
| typePath | back to summary |
|---|---|
| pack-priv int typePath(int pos, int pathLength) throws Exception | |
| typePath | back to summary |
|---|---|
| pack-priv void typePath(int pos, int typePathKind, int typeArgumentIndex) throws Exception | |
annotationArray().
annotationArray()
| Modifier and Type | Field and Description |
|---|---|
| pack-priv TypeAnnotationsAttribute. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | annotationArray(int pos, int num)
Overrides javassist.
|
| subWalker | back to summary |
|---|---|
| pack-priv TypeAnnotationsAttribute. | |
| TAWalker | back to summary |
|---|---|
| pack-priv TAWalker(byte[] attrInfo) | |
| annotationArray | back to summary |
|---|---|
| pack-priv int annotationArray(int pos, int num) throws Exception Overrides javassist.
| |