Package proguard.classfile.editor

This package contains visitors to edit byte code.

See:
          Description

Class Summary
AccessFixer This ConstantVisitor fixes the access modifiers of all classes and class members that are referenced by the constants that it visits.
AttributeAdder This AttributeVisitor adds all attributes that it visits to the given target class, class member, or attribute.
AttributesEditor This class can add and delete attributes to and from classes, fields, methods, and code attributes.
AttributeSorter This ClassVisitor sorts the attributes of the classes that it visits.
ClassElementSorter This ClassVisitor sorts the various elements of the classes that it visits: interfaces, constants, fields, methods, and attributes.
ClassMemberSorter This ClassVisitor sorts the class members of the classes that it visits.
ClassReferenceFixer This ClassVisitor fixes references of constant pool entries, fields, methods, and attributes to classes whose names have changed.
CodeAttributeComposer This AttributeVisitor accumulates instructions and exceptions, and then copies them into code attributes that it visits.
CodeAttributeEditor This AttributeVisitor accumulates specified changes to code, and then applies these accumulated changes to the code attributes that it visits.
CodeAttributeEditorResetter This AttributeVisitor resets it CodeAttributeEditor whenever it visits a code attribute.
ConstantAdder This ConstantVisitor adds all constants that it visits to the constant pool of a given target class.
ConstantPoolEditor This class can add constant pool entries to given classes.
ConstantPoolRemapper This ClassVisitor remaps all possible references to constant pool entries of the classes that it visits, based on a given index map.
ConstantPoolSorter This ClassVisitor sorts the constant pool entries of the classes that it visits.
ExceptionAdder This ConstantVisitor adds all class constants that it visits to the given target exceptions attribute.
ExceptionsEditor This class can add exceptions to exceptions attributes.
InstructionWriter This InstructionVisitor writes out the instructions that it visits, collecting instructions that have to be widened.
InterfaceSorter This ClassVisitor sorts the interfaces of the classes that it visits.
MemberAdder This ConstantVisitor adds all class members that it visits to the given target class.
MemberReferenceFixer This ClassVisitor fixes constant pool field and method references to fields and methods whose names or descriptors have changed.
MembersEditor This class can add class members to classes.
MethodInvocationFixer This AttributeVisitor fixes all inappropriate special/virtual/static/interface invocations of the code attributes that it visits.
StackSizeUpdater This AttributeVisitor computes and updates the maximum stack size of the code attributes that it visits.
VariableEditor This AttributeVisitor accumulates specified changes to local variables, and then applies these accumulated changes to the code attributes that it visits.
VariableRemapper This AttributeVisitor remaps variable indexes in all attributes that it visits, based on a given index map.
VariableSizeUpdater This AttributeVisitor computes and updates the maximum local variable frame size of the code attributes that it visits.
 

Package proguard.classfile.editor Description

This package contains visitors to edit byte code.