Package proguard.classfile.attribute.visitor
package proguard.classfile.attribute.visitor
-
ClassDescriptionThis
ClassVisitor,MemberVisitor,RecordComponentInfoVisitorandAttributeVisitorlets a givenAttributeVisitorvisit all Attribute instances of the program classes, program class members, or code attributes, respectively, that it visits.ThisAttributeVisitorlets a givenBootstrapMethodInfoVisitorvisit all bootstrap method instances of theBootstrapMethodsAttributeinstances it visits.ThisAttributeVisitorlets a givenExceptionInfoVisitorvisit all exceptions instances of theCodeAttributeinstances it visits.ThisAttributeVisitorlets a givenInnerClassesInfoVisitorvisit allInnerClassesInfoinstances of theInnerClassesAttributeinstances it visits.ThisAttributeVisitorlets a givenLineNumberInfoVisitorvisit all line numbers of theLineNumberTableAttributeinstances it visits.ThisAttributeVisitorlets a givenRecordComponentInfoVisitorvisit allRecordComponentInfoinstances of theRecordAttributeinstances it visits.This AttributeVisitor lets a given ConstantVisitor visit all constants of the constant value attributes it visits.ThisAttributeVisitorcounts the number of attributes that have been visited.ThisAttributeVisitordelegates its visits anotherAttributeVisitor, but only when the visited attribute has a name that that matches a given regular expression.ThisAttributeVisitordelegates its visits to another givenAttributeVisitor, but only when the visited attribute has the proper processing flags.ThisAttributeVisitordelegates to a givenClassVisitor.This interface specifies the methods for a visitor ofAttributeinstances.This interface specifies the methods for a visitor ofBootstrapMethodInfoinstances.ThisAttributeVisitorlets a givenMemberVisitorvisit all methods whose code attribute is visited.ThisAttributeVisitordelegates to a givenAttributeVisitor, timing the invocations and printing out warnings when the timings exceed a given threshold.This interface specifies the methods for a visitor ofExceptionInfoinstances.This interface specifies the methods for a visitor ofInnerClassesInfoinstances.ThisInstructionVisitordelegates to a givenAttributeVisitor.This interface specifies the methods for a visitor ofLineNumberInfoinstances.ThisLineNumberInfoVisitorremembers the lowest and the highest line numbers that it finds in all the line numbers that it visits.This interface specifies the methods for a visitor ofLocalVariableInfoinstances.This interface specifies the methods for a visitor ofLocalVariableTypeInfoinstances.ThisAttributeVisitorcomputes the maximum stack size of the code attributes that it visits.A consumer of before/after stack sizes at each offset evaluated by theMaxStackSizeComputer.ThisAttributeVisitordelegates all visits to eachAttributeVisitorin a given list.ThisAttributeVisitordelegates its visits anotherAttributeVisitor, but only when the visited attribute is not empty.This interface specifies the method for a visitor ofParameterInfoinstances.This interface specifies the methods for a visitor ofRecordComponentInfoinstances.ThisAttributeVisitordelegates its visits to one of two otherAttributeVisitorinstances, depending on whether the visited attribute is strictly required or not.ThisAttributeVisitordelegates all visits to a givenAttributeVisitor, although only once to the same attribute in a row.ThisAttributeVisitorcomputes the stack sizes at all instruction offsets of the code attributes that it visits.