| 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.annotationAccept(Clazz clazz,
AnnotationVisitor annotationVisitor)
Applies the given visitor to the annotation.
|
void |
AnnotationsAttribute.annotationsAccept(Clazz clazz,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all class annotations.
|
void |
AnnotationsAttribute.annotationsAccept(Clazz clazz,
Field field,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all field annotations.
|
void |
AnnotationsAttribute.annotationsAccept(Clazz clazz,
Method method,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all method annotations.
|
void |
ParameterAnnotationsAttribute.annotationsAccept(Clazz clazz,
Method method,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all annotations.
|
void |
AnnotationsAttribute.annotationsAccept(Clazz clazz,
Method method,
CodeAttribute codeAttribute,
AnnotationVisitor annotationVisitor)
Applies the given visitor to all code attribute annotations.
|
| 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.
|
class |
AnnotatedClassVisitor
This AnnotationVisitor delegates all visits to a given ClassVisitor.
|
class |
AnnotationToMemberVisitor
This AnnotationVisitor delegates all visits to a given MemberVisitor.
|
class |
AnnotationTypeFilter
This
AnnotationVisitor delegates its visits to another given
AnnotationVisitor, but only when the visited annotation has
a type that matches a given regular expression. |
| Constructor and Description |
|---|
AllAnnotationVisitor(AnnotationVisitor annotationVisitor)
Creates a new AllAnnotationVisitor.
|
AnnotationTypeFilter(String regularExpression,
AnnotationVisitor annotationVisitor)
Creates a new ClassNameFilter.
|
| 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 |
AnnotationAdder
This AnnotationVisitor adds all annotations that it visits to the given
target annotation element value, target annotation attribute, or target
parameter annotation attribute.
|
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 |
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.
|
| 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.
|
| 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.