Package proguard.classfile.util
package proguard.classfile.util
-
ClassDescriptionUtility methods for working with access flags.This
MemberVisitorlets a given parameter visitor visit all the parameters of the methods that it visits.This class finds sequences of instructions that correspond to primitive array initializations.ThisClassVisitorreplaces array initialization instructions with optimized primitive array constants.ThisAttributeVisitorfinds all instruction offsets, branch targets, and exception targets in theCodeAttributeinstances that it visits.ThisClassVisitorinitializes the class hierarchy and references of all classes that it visits.AClassLoaderthat can load classes from a ProGuardCORE classpool.ThisClassVisitorinitializes the references of all classes that it visits.ThisClassVisitorrenames the class names and class member names of the classes it visits.This ClassPoolVisitor and ClassVisitor fills out the subclasses of all classes (in the class pools) that it visits.ThisClassVisitorinitializes the superclass hierarchy of all classes that it visits.Utility methods for: Converting between internal and external representations of names and descriptions Operation onClazzThis utility class finds the offset of the invocation to the current or super class constructor after visiting anmethod. ADescriptorClassEnumerationprovides an enumeration of all classes mentioned in a given descriptor or signature.ThisInstructionVisitorinitializes any constantClass.forNameor.classreferences of all classes it visits.ThisAttributeVisitorinitializes any constant class member references of all code that it visits.ThisElementValueVisitorinitializes the field references of theEnumConstantElementValueinstances that it visits.AnExternalTypeEnumerationprovides an enumeration of all types listed in a given external descriptor string.This utility class provides a method to initialize the cached cross-references classes.Utility methods for operation onClazzthat require initialization of theClassPools to work (i.e.,ClassReferenceInitializer,ClassSubHierarchyInitializer, andClassSuperHierarchyInitializershould have run on the class pools).ThisInstructionVisitorwill delegate visits only if the visited instructions match the required sequence.ThisInstructionVisitorchecks whether a given pattern instruction sequence occurs in the instructions that are visited.AnInternalTypeEnumerationprovides an enumeration of all types listed in a given internal descriptor or signature of a class, a method, or a field.This class wrapsInternalTypeEnumerationto provide an Iterable interface for use with enhanced for loops.A visitor that is visited for invalid class references.A visitor for invalid member references.A visitor for invalid references.A small utility class to clean up invalid signatures.This utility class provides methods to find class members in a given class or in its hierarchy.ThisMemberVisitorrenames the class member names of the classes it visits.ThisClassVisitorlinks all corresponding non-private, non-static, non-initializer methods in the class hierarchies of all visited classes.This utility class can find the nest host class names of given classes.This utility class finds the offset of a provided list of opcodes in the code attributes.ThisClassVisitorreplaces all instances ofPrimitiveArrayConstantby Java bytecode compliant array store instructions.ThisConstantVisitorinitializes any class references of all string constants it visits.ThisClassVisitorshares strings in the class files that it visits.This class prints out and counts warnings.ThisConstantVisitordelegates to a given constant visitor, except for constants that contain wildcards (indices larger than 0xffff).