static class AnnotationsAttribute.Renamer extends AnnotationsAttribute.Walker
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Map |
classnames |
(package private) ConstPool |
cpool |
info| Constructor and Description |
|---|
Renamer(byte[] info,
ConstPool cp,
java.util.Map map)
Constructs a renamer.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
annotation(int pos,
int type,
int numPairs) |
(package private) void |
classMemberValue(int pos,
int index) |
(package private) void |
enumMemberValue(int pos,
int typeNameIndex,
int constNameIndex) |
private void |
renameType(int pos,
int index) |
annotation, annotationArray, annotationArray, annotationArray, annotationMemberValue, arrayMemberValue, constValueMember, memberValue, memberValuePair, memberValuePair, parameters, parametersConstPool cpool
java.util.Map classnames
Renamer(byte[] info,
ConstPool cp,
java.util.Map map)
map.info - the annotations attribute.cp - the constant pool.map - pairs of replaced and substituted class names.
It can be null.int annotation(int pos,
int type,
int numPairs)
throws java.lang.Exception
annotation in class AnnotationsAttribute.Walkerjava.lang.Exceptionvoid enumMemberValue(int pos,
int typeNameIndex,
int constNameIndex)
throws java.lang.Exception
enumMemberValue in class AnnotationsAttribute.Walkerjava.lang.Exceptionvoid classMemberValue(int pos,
int index)
throws java.lang.Exception
classMemberValue in class AnnotationsAttribute.Walkerjava.lang.Exceptionprivate void renameType(int pos,
int index)