Package javassist.bytecode
Class AnnotationsAttribute.Renamer
java.lang.Object
javassist.bytecode.AnnotationsAttribute.Walker
javassist.bytecode.AnnotationsAttribute.Renamer
- Direct Known Subclasses:
TypeAnnotationsAttribute.Renamer
- Enclosing class:
- AnnotationsAttribute
-
Field Summary
FieldsFields inherited from class javassist.bytecode.AnnotationsAttribute.Walker
info -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intannotation(int pos, int type, int numPairs) (package private) voidclassMemberValue(int pos, int index) class_info_index(package private) voidenumMemberValue(int pos, int typeNameIndex, int constNameIndex) enum_const_valueprivate voidrenameType(int pos, int index) Methods inherited from class javassist.bytecode.AnnotationsAttribute.Walker
annotation, annotationArray, annotationArray, annotationArray, annotationMemberValue, arrayMemberValue, constValueMember, memberValue, memberValuePair, memberValuePair, parameters, parameters
-
Field Details
-
cpool
ConstPool cpool -
classnames
-
-
Constructor Details
-
Renamer
Constructs a renamer. It renames some class names into the new names specified bymap.- Parameters:
info- the annotations attribute.cp- the constant pool.map- pairs of replaced and substituted class names. It can be null.
-
-
Method Details
-
annotation
- Overrides:
annotationin classAnnotationsAttribute.Walker- Throws:
Exception
-
enumMemberValue
Description copied from class:AnnotationsAttribute.Walkerenum_const_value- Overrides:
enumMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-
classMemberValue
Description copied from class:AnnotationsAttribute.Walkerclass_info_index- Overrides:
classMemberValuein classAnnotationsAttribute.Walker- Throws:
Exception
-
renameType
private void renameType(int pos, int index)
-