| Package | Description |
|---|---|
| proguard.classfile.attribute.annotation |
This package contains classes to represent the annotation attributes inside
class files.
|
| proguard.classfile.attribute.annotation.visitor |
This package contains visitors for annotation 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.util |
This package contains utility classes for processing class files.
|
| proguard.classfile.visitor |
This package contains interfaces and classes for processing class files from
the
package using
the visitor pattern. |
| proguard.optimize.peephole |
This package contains visitors that perform various peephole optimizations.
|
| proguard.shrink |
This package contains classes to perform shrinking of class files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
ClassElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
EnumConstantElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
ConstantElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
abstract void |
ElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Accepts the given visitor.
|
void |
ArrayElementValue.accept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor) |
void |
AnnotationDefaultAttribute.defaultValueAccept(Clazz clazz,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to the default element value.
|
void |
ArrayElementValue.elementValuesAccept(Clazz clazz,
Annotation annotation,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to all nested element values.
|
void |
Annotation.elementValuesAccept(Clazz clazz,
ElementValueVisitor elementValueVisitor)
Applies the given visitor to all element value pairs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AllElementValueVisitor
This AttributeVisitor and AnnotationVisitor lets a given ElementValueVisitor
visit all ElementValue objects of the attributes or annotations that it
visits.
|
| Constructor and Description |
|---|
AllElementValueVisitor(boolean deep,
ElementValueVisitor elementValueVisitor)
Creates a new AllElementValueVisitor.
|
AllElementValueVisitor(ElementValueVisitor elementValueVisitor)
Creates a new AllElementValueVisitor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AccessFixer
This ClassVisitor fixes the access modifiers of all classes and class
members that are referenced by the classes that it visits.
|
class |
ClassReferenceFixer
This ClassVisitor fixes references of constant pool entries, fields,
methods, and attributes to classes whose names have changed.
|
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 |
ElementValueAdder
This AnnotationVisitor adds all element values that it visits to the given
target annotation default attribute, annotation, or element value.
|
class |
MemberReferenceFixer
This ClassVisitor fixes constant pool field and method references to fields
and methods whose names or descriptors have changed.
|
class |
Utf8Shrinker
This ClassVisitor removes UTF-8 constant pool entries that are not used.
|
| 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 |
ClassReferenceInitializer
This ClassVisitor initializes the references of all classes that
it visits.
|
class |
EnumFieldReferenceInitializer
This ElementValueVisitor initializes the field references of the
EnumConstantElementValue instances that it visits.
|
| 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 |
ReferencedClassVisitor
This ClassVisitor, MemberVisitor, ConstantVisitor, AttributeVisitor, etc.
|
class |
ReferencedMemberVisitor
This ConstantVisitor and ElementValueVisitor lets a given MemberVisitor
visit all the referenced class members of the elements that it visits.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TargetClassChanger
This ClassVisitor replaces references to classes and class members if the
classes have targets that are intended to replace them.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnnotationUsageMarker
This AttributeVisitor recursively marks all necessary annotation information
in the attributes that it visits.
|
class |
ClassShrinker
This ClassVisitor removes constant pool entries, class members, and other
class elements that are not marked as being used.
|
Copyright © 2015. All Rights Reserved.