| Package | Description |
|---|---|
| proguard.classfile |
This package contains classes to represent the various elements of class files.
|
| proguard.classfile.attribute.annotation.visitor |
This package contains visitors for annotation attributes and their components.
|
| proguard.classfile.constant | |
| 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.obfuscate |
This package contains classes to perform obfuscation of class files.
|
| proguard.optimize.evaluation |
This package contains visitors that perform partial evaluation and subsequent
optimizations on byte code.
|
| proguard.optimize.info |
This package contains classes to collect additional information about classes
and class members, which can then be used for optimization.
|
| proguard.optimize.peephole |
This package contains visitors that perform various peephole optimizations.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
Field
Representation of a field from a class.
|
interface |
Method
Representation of a method from a class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LibraryField
Representation of a field from a class-file.
|
class |
LibraryMember
Representation of a field or method from a library class.
|
class |
LibraryMethod
Representation of a method from a class-file.
|
class |
ProgramField
Representation of a field from a program class.
|
class |
ProgramMember
Representation of a field or method from a program class.
|
class |
ProgramMethod
Representation of a method from a program class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AnnotationToMemberVisitor.visitAnnotation(Clazz clazz,
Member member,
Annotation annotation) |
| Modifier and Type | Field and Description |
|---|---|
Member |
RefConstant.referencedMember
An extra field optionally pointing to the referenced Member object.
|
Member |
StringConstant.referencedMember
An extra field pointing to the referenced Member object, if this
string is being used in Class.getDeclaredField/Method constructs.
|
| Constructor and Description |
|---|
FieldrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Creates a new FieldrefConstant with the given name and type indices.
|
InterfaceMethodrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Creates a new InterfaceMethodrefConstant with the given name and type indices.
|
MethodrefConstant(int u2classIndex,
int u2nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Creates a new MethodrefConstant with the given name and type indices.
|
StringConstant(int u2stringIndex,
Clazz referencedClass,
Member referenceMember)
Creates a new StringConstant with the given string index.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ConstantPoolEditor.addFieldrefConstant(Clazz referencedClass,
Member referencedMember)
Finds or creates a FieldrefConstant constant pool entry for the given
class and field.
|
int |
ConstantPoolEditor.addFieldrefConstant(int classIndex,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a FieldrefConstant constant pool entry with the given
class constant pool entry index and name and type constant pool entry
index.
|
int |
ConstantPoolEditor.addFieldrefConstant(int classIndex,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a FieldrefConstant constant pool entry with the given
class constant pool entry index, field name, and descriptor.
|
int |
ConstantPoolEditor.addFieldrefConstant(String className,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a FieldrefConstant constant pool entry with the given
class name, field name, and descriptor.
|
int |
ConstantPoolEditor.addFieldrefConstant(String className,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a FieldrefConstant constant pool entry with the given
class name, field name, and descriptor.
|
int |
ConstantPoolEditor.addInterfaceMethodrefConstant(Clazz referencedClass,
Member referencedMember)
Finds or creates a InterfaceMethodrefConstant constant pool entry for the
given class and method.
|
int |
ConstantPoolEditor.addInterfaceMethodrefConstant(int classIndex,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a InterfaceMethodrefConstant constant pool entry with the
given class constant pool entry index and name and type constant pool
entry index.
|
int |
ConstantPoolEditor.addInterfaceMethodrefConstant(int classIndex,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a InterfaceMethodrefConstant constant pool entry with the
given class constant pool entry index, method name, and descriptor.
|
int |
ConstantPoolEditor.addInterfaceMethodrefConstant(String className,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a InterfaceMethodrefConstant constant pool entry with the
given class name, method name, and descriptor.
|
int |
ConstantPoolEditor.addInterfaceMethodrefConstant(String className,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a InterfaceMethodrefConstant constant pool entry with the
given class name, method name, and descriptor.
|
int |
ConstantPoolEditor.addMethodrefConstant(Clazz referencedClass,
Member referencedMember)
Finds or creates a MethodrefConstant constant pool entry for the given
class and method.
|
int |
ConstantPoolEditor.addMethodrefConstant(int classIndex,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a MethodrefConstant constant pool entry with the given
class constant pool entry index and name and type constant pool entry
index.
|
int |
ConstantPoolEditor.addMethodrefConstant(int classIndex,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a MethodrefConstant constant pool entry with the given
class constant pool entry index, method name, and descriptor.
|
int |
ConstantPoolEditor.addMethodrefConstant(String className,
int nameAndTypeIndex,
Clazz referencedClass,
Member referencedMember)
Finds or creates a MethodrefConstant constant pool entry with the given
class name, method name, and descriptor.
|
int |
ConstantPoolEditor.addMethodrefConstant(String className,
String name,
String descriptor,
Clazz referencedClass,
Member referencedMember)
Finds or creates a MethodrefConstant constant pool entry with the given
class name, method name, and descriptor.
|
int |
ConstantPoolEditor.addStringConstant(String string,
Clazz referencedClass,
Member referencedMember)
Finds or creates a StringConstant constant pool entry with the given
value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProgramClassReader.visitEmptyTargetInfo(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation,
EmptyTargetInfo emptyTargetInfo) |
| Modifier and Type | Method and Description |
|---|---|
Member |
MemberFinder.findMember(Clazz referencingClass,
Clazz clazz,
String name,
String descriptor,
boolean isField)
Finds the class member with the given name and descriptor in the given
class or its hierarchy.
|
static Member |
MethodLinker.lastMember(Member member)
Finds the last class member in the linked list of related class members.
|
| Modifier and Type | Method and Description |
|---|---|
static Member |
MethodLinker.lastMember(Member member)
Finds the last class member in the linked list of related class members.
|
void |
SimplifiedVisitor.visitAnnotation(Clazz clazz,
Member member,
Annotation annotation)
Visits the given Annotation of any type of class member.
|
void |
SimplifiedVisitor.visitAnyMember(Clazz clazz,
Member member)
Visits any type of class member of the given class.
|
void |
MemberFinder.visitAnyMember(Clazz clazz,
Member member) |
void |
MethodLinker.visitAnyMember(Clazz clazz,
Member member) |
void |
SimplifiedVisitor.visitDeprecatedAttribute(Clazz clazz,
Member member,
DeprecatedAttribute deprecatedAttribute)
Visits the given DeprecatedAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitEmptyTargetInfo(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation,
EmptyTargetInfo emptyTargetInfo)
Visits the given EmptyTargetInfo of any type of class member.
|
void |
SimplifiedVisitor.visitRuntimeInvisibleAnnotationsAttribute(Clazz clazz,
Member member,
RuntimeInvisibleAnnotationsAttribute runtimeInvisibleAnnotationsAttribute)
Visits the given RuntimeInvisibleAnnotationsAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitRuntimeInvisibleTypeAnnotationsAttribute(Clazz clazz,
Member member,
RuntimeInvisibleTypeAnnotationsAttribute runtimeInvisibleTypeAnnotationsAttribute)
Visits the given RuntimeInvisibleTypeAnnotationsAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitRuntimeVisibleAnnotationsAttribute(Clazz clazz,
Member member,
RuntimeVisibleAnnotationsAttribute runtimeVisibleAnnotationsAttribute)
Visits the given RuntimeVisibleAnnotationsAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitRuntimeVisibleTypeAnnotationsAttribute(Clazz clazz,
Member member,
RuntimeVisibleTypeAnnotationsAttribute runtimeVisibleTypeAnnotationsAttribute)
Visits the given RuntimeVisibleTypeAnnotationsAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitSignatureAttribute(Clazz clazz,
Member member,
SignatureAttribute signatureAttribute)
Visits the given SignatureAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitSyntheticAttribute(Clazz clazz,
Member member,
SyntheticAttribute syntheticAttribute)
Visits the given SyntheticAttribute of any type of class member.
|
void |
SimplifiedVisitor.visitTypeAnnotation(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation)
Visits the given TypeAnnotation of any type of class member.
|
void |
SimplifiedVisitor.visitTypeParameterBoundTargetInfo(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation,
TypeParameterBoundTargetInfo typeParameterBoundTargetInfo)
Visits the given TypeParameterBoundTargetInfo of any type of class member.
|
void |
SimplifiedVisitor.visitTypePathInfo(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation,
TypePathInfo typePathInfo)
Visits the given TypePathInfo of any type of class member.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemberCollector.visitAnyMember(Clazz clazz,
Member member) |
void |
ClassPrinter.visitEmptyTargetInfo(Clazz clazz,
Member member,
TypeAnnotation typeAnnotation,
EmptyTargetInfo emptyTargetInfo) |
void |
ParameterVisitor.visitParameter(Clazz clazz,
Member member,
int parameterIndex,
int parameterCount,
int parameterOffset,
int parameterSize,
String parameterType,
Clazz referencedClass)
Visits the given parameter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MemberNameCollector.visitAnyMember(Clazz clazz,
Member member) |
void |
MemberObfuscator.visitAnyMember(Clazz clazz,
Member member) |
| Modifier and Type | Method and Description |
|---|---|
void |
SimpleEnumUseSimplifier.visitParameter(Clazz clazz,
Member member,
int parameterIndex,
int parameterCount,
int parameterOffset,
int parameterSize,
String parameterType,
Clazz referencedClass) |
void |
SimpleEnumUseChecker.visitParameter(Clazz clazz,
Member member,
int parameterIndex,
int parameterCount,
int parameterOffset,
int parameterSize,
String parameterType,
Clazz referencedClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
AccessMethodMarker.visitAnyMember(Clazz clazz,
Member member) |
void |
MethodInvocationMarker.visitAnyMember(Clazz Clazz,
Member member) |
void |
PackageVisibleMemberContainingClassMarker.visitAnyMember(Clazz clazz,
Member member) |
void |
PackageVisibleMemberInvokingClassMarker.visitAnyMember(Clazz clazz,
Member member) |
void |
ReadWriteFieldMarker.visitAnyMember(Clazz Clazz,
Member member) |
void |
NoSideEffectMethodMarker.visitAnyMember(Clazz Clazz,
Member member) |
| Modifier and Type | Method and Description |
|---|---|
void |
MethodInliner.visitAnyMember(Clazz Clazz,
Member member) |
Copyright © 2015. All Rights Reserved.