Package proguard.classfile.attribute.visitor
-
Interface Summary Interface Description AttributeVisitor This interface specifies the methods for a visitor ofAttribute
instances.BootstrapMethodInfoVisitor This interface specifies the methods for a visitor ofBootstrapMethodInfo
instances.ExceptionInfoVisitor This interface specifies the methods for a visitor ofExceptionInfo
instances.InnerClassesInfoVisitor This interface specifies the methods for a visitor ofInnerClassesInfo
instances.LineNumberInfoVisitor This interface specifies the methods for a visitor ofLineNumberInfo
instances.LocalVariableInfoVisitor This interface specifies the methods for a visitor ofLocalVariableInfo
instances.LocalVariableTypeInfoVisitor This interface specifies the methods for a visitor ofLocalVariableTypeInfo
instances.MaxStackSizeComputer.StackSizeConsumer A consumer of before/after stack sizes at each offset evaluated by theMaxStackSizeComputer
.ParameterInfoVisitor This interface specifies the method for a visitor ofParameterInfo
instances.RecordComponentInfoVisitor This interface specifies the methods for a visitor ofRecordComponentInfo
instances. -
Class Summary Class Description AllAttributeVisitor ThisClassVisitor
,MemberVisitor
,RecordComponentInfoVisitor
andAttributeVisitor
lets a givenAttributeVisitor
visit all Attribute instances of the program classes, program class members, or code attributes, respectively, that it visits.AllBootstrapMethodInfoVisitor ThisAttributeVisitor
lets a givenBootstrapMethodInfoVisitor
visit all bootstrap method instances of theBootstrapMethodsAttribute
instances it visits.AllExceptionInfoVisitor ThisAttributeVisitor
lets a givenExceptionInfoVisitor
visit all exceptions instances of theCodeAttribute
instances it visits.AllInnerClassesInfoVisitor ThisAttributeVisitor
lets a givenInnerClassesInfoVisitor
visit allInnerClassesInfo
instances of theInnerClassesAttribute
instances it visits.AllLineNumberInfoVisitor ThisAttributeVisitor
lets a givenLineNumberInfoVisitor
visit all line numbers of theLineNumberTableAttribute
instances it visits.AllRecordComponentInfoVisitor ThisAttributeVisitor
lets a givenRecordComponentInfoVisitor
visit allRecordComponentInfo
instances of theRecordAttribute
instances it visits.AttributeConstantVisitor This AttributeVisitor lets a given ConstantVisitor visit all constants of the constant value attributes it visits.AttributeCounter ThisAttributeVisitor
counts the number of attributes that have been visited.AttributeNameFilter ThisAttributeVisitor
delegates its visits anotherAttributeVisitor
, but only when the visited attribute has a name that that matches a given regular expression.AttributeProcessingFlagFilter ThisAttributeVisitor
delegates its visits to another givenAttributeVisitor
, but only when the visited attribute has the proper processing flags.AttributeToClassVisitor ThisAttributeVisitor
delegates to a givenClassVisitor
.CodeAttributeToMethodVisitor ThisAttributeVisitor
lets a givenMemberVisitor
visit all methods whose code attribute is visited.DebugAttributeVisitor ThisAttributeVisitor
delegates to a givenAttributeVisitor
, timing the invocations and printing out warnings when the timings exceed a given threshold.InstructionToAttributeVisitor ThisInstructionVisitor
delegates to a givenAttributeVisitor
.LineNumberRangeFinder ThisLineNumberInfoVisitor
remembers the lowest and the highest line numbers that it finds in all the line numbers that it visits.MaxStackSizeComputer ThisAttributeVisitor
computes the maximum stack size of the code attributes that it visits.MultiAttributeVisitor ThisAttributeVisitor
delegates all visits to eachAttributeVisitor
in a given list.NonEmptyAttributeFilter ThisAttributeVisitor
delegates its visits anotherAttributeVisitor
, but only when the visited attribute is not empty.RequiredAttributeFilter ThisAttributeVisitor
delegates its visits to one of two otherAttributeVisitor
instances, depending on whether the visited attribute is strictly required or not.SingleTimeAttributeVisitor ThisAttributeVisitor
delegates all visits to a givenAttributeVisitor
, although only once to the same attribute in a row.StackSizeComputer ThisAttributeVisitor
computes the stack sizes at all instruction offsets of the code attributes that it visits.