Package proguard.classfile.editor
Class ConstantPoolSorter
- java.lang.Object
-
- proguard.classfile.editor.ConstantPoolSorter
-
- All Implemented Interfaces:
ClassVisitor
public class ConstantPoolSorter extends java.lang.Object implements ClassVisitor
ThisClassVisitorsorts the constant pool entries of the program classes that it visits. The sorting order is based on the types of the constant pool entries in the first place, and on their contents in the second place.
-
-
Constructor Summary
Constructors Constructor Description ConstantPoolSorter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidvisitAnyClass(Clazz clazz)Visits any Clazz instance.voidvisitProgramClass(ProgramClass programClass)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface proguard.classfile.visitor.ClassVisitor
visitLibraryClass
-
-
-
-
Method Detail
-
visitAnyClass
public void visitAnyClass(Clazz clazz)
Description copied from interface:ClassVisitorVisits any Clazz instance. The more specific default implementations of this interface delegate to this method.- Specified by:
visitAnyClassin interfaceClassVisitor
-
visitProgramClass
public void visitProgramClass(ProgramClass programClass)
- Specified by:
visitProgramClassin interfaceClassVisitor
-
-