| Package | Description |
|---|---|
| proguard.classfile.attribute |
This package contains classes to represent the attributes inside class files.
|
| proguard.classfile.attribute.visitor |
This package contains visitors for attributes and their components.
|
| proguard.classfile.editor |
This package contains visitors to edit byte code.
|
| proguard.classfile.io |
This package contains classes for reading and writing class files.
|
| proguard.classfile.visitor |
This package contains interfaces and classes for processing class files from
the
package using
the visitor pattern. |
| proguard.optimize |
This package contains visitors that assist with various optimizations of byte
code.
|
| proguard.optimize.evaluation |
This package contains visitors that perform partial evaluation and subsequent
optimizations on byte code.
|
| proguard.optimize.peephole |
This package contains visitors that perform various peephole optimizations.
|
| proguard.preverify | |
| proguard.shrink |
This package contains classes to perform shrinking of class files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CodeAttribute.exceptionsAccept(Clazz clazz,
Method method,
ExceptionInfoVisitor exceptionInfoVisitor)
Applies the given exception visitor to all exceptions.
|
void |
CodeAttribute.exceptionsAccept(Clazz clazz,
Method method,
int offset,
ExceptionInfoVisitor exceptionInfoVisitor)
Applies the given exception visitor to all exceptions that are applicable
to the instruction at the specified offset.
|
void |
CodeAttribute.exceptionsAccept(Clazz clazz,
Method method,
int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Applies the given exception visitor to all exceptions that are applicable
to any of the instructions in the specified range of offsets.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StackSizeComputer
This AttributeVisitor computes the stack sizes at all instruction offsets
of the code attributes that it visits.
|
| Constructor and Description |
|---|
AllExceptionInfoVisitor(ExceptionInfoVisitor exceptionInfoVisitor) |
| Modifier and Type | Class and Description |
|---|---|
class |
CodeAttributeComposer
This AttributeVisitor accumulates instructions and exceptions, and then
copies them into code attributes that it visits.
|
class |
CodeAttributeEditor
This AttributeVisitor accumulates specified changes to code, and then applies
these accumulated changes to the code attributes that it visits.
|
class |
ConstantPoolRemapper
This ClassVisitor remaps all possible references to constant pool entries
of the classes that it visits, based on a given index map.
|
class |
ConstantPoolShrinker
This ClassVisitor removes all unused entries from the constant pool.
|
class |
ExceptionInfoAdder
This ExceptionInfoVisitor adds all exception information that it visits to
the given target code attribute.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ProgramClassReader
This ClassVisitor fills out the ProgramClass objects that it visits with data
from the given DataInput object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassCleaner
This
ClassVisitor removes all visitor information of the
classes it visits. |
class |
ClassPrinter
This
ClassVisitor prints out the complete internal
structure of the classes it visits. |
class |
ExceptionCounter
This ExceptionInfoVisitor counts the number of exceptions that has been visited.
|
class |
ExceptionExcludedOffsetFilter
This
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
does not cover the instruction at the given offset. |
class |
ExceptionHandlerConstantVisitor
This
ExceptionInfoVisitor lets a given
ConstantVisitor visit all catch class constants of exceptions
that it visits. |
class |
ExceptionHandlerFilter
This
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
targets an instruction in the given range of offsets. |
class |
ExceptionOffsetFilter
This
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
covers the instruction at the given offset. |
class |
ExceptionRangeFilter
This
ExceptionInfoVisitor delegates its visits to another given
ExceptionInfoVisitor, but only when the visited exception
overlaps with the given instruction range. |
| Constructor and Description |
|---|
ExceptionExcludedOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionExcludedOffsetFilter.
|
ExceptionHandlerFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionHandlerFilter.
|
ExceptionOffsetFilter(int instructionOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionOffsetFilter.
|
ExceptionRangeFilter(int startOffset,
int endOffset,
ExceptionInfoVisitor exceptionInfoVisitor)
Creates a new ExceptionRangeFilter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TailRecursionSimplifier
This MemberVisitor simplifies tail recursion calls in all methods that it
visits.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LivenessAnalyzer
This AttributeVisitor analyzes the liveness of the variables in the code
attributes that it visits, based on partial evaluation.
|
class |
PartialEvaluator
This AttributeVisitor performs partial evaluation on the code attributes
that it visits.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BranchTargetFinder
This AttributeVisitor finds all instruction offsets, branch targets, and
exception targets in the CodeAttribute objects that it visits.
|
class |
ReachableCodeMarker
This AttributeVisitor finds all instruction offsets, branch targets, and
exception targets in the CodeAttribute objects that it visits.
|
class |
UnreachableExceptionRemover
This AttributeVisitor removes exception handlers that are unreachable in the
code attributes that it visits.
|
| Constructor and Description |
|---|
UnreachableExceptionRemover(ExceptionInfoVisitor extraExceptionInfoVisitor)
Creates a new UnreachableExceptionRemover.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CodeSubroutineInliner
This AttributeVisitor inlines local subroutines (jsr/ret) in the code
attributes that it visits.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ShortestUsageMarker
This ClassVisitor and MemberVisitor recursively marks all classes
and class elements that are being used.
|
Copyright © 2015. All Rights Reserved.