public class ClassMemberSorter extends java.lang.Object implements ClassVisitor, java.util.Comparator
ClassVisitor
sorts the class members of the classes that it visits. The sorting
order is based on the access flags, the names, and the descriptors.Constructor and Description |
---|
ClassMemberSorter() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object object1,
java.lang.Object object2) |
void |
visitAnyClass(Clazz clazz)
Visits any Clazz instance.
|
void |
visitProgramClass(ProgramClass programClass) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
visitLibraryClass
public void visitAnyClass(Clazz clazz)
ClassVisitor
visitAnyClass
in interface ClassVisitor
public void visitProgramClass(ProgramClass programClass)
visitProgramClass
in interface ClassVisitor
public int compare(java.lang.Object object1, java.lang.Object object2)
compare
in interface java.util.Comparator