| Package | Description |
|---|---|
| proguard |
This package contains the main ProGuard application.
|
| 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.io |
This package contains classes to read and write files, optionally wrapped in
jars, wars, ears, zips, directories,...
|
| proguard.obfuscate |
This package contains classes to perform obfuscation of class files.
|
| proguard.optimize |
This package contains visitors that assist with various optimizations of 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.preverify | |
| proguard.shrink |
This package contains classes to perform shrinking of class files.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Targeter.execute(ClassPool programClassPool)
Sets the target version on classes in the given program class pool.
|
void |
OutputWriter.execute(ClassPool programClassPool)
Writes the given class pool to class files, based on the current
configuration.
|
void |
Initializer.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Initializes the classes in the given program class pool and library class
pool, performs some basic checks, and shrinks the library class pool.
|
void |
InputReader.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Fills the given program class pool and library class pool by reading
class files, based on the current configuration.
|
void |
SeedPrinter.write(Configuration configuration,
ClassPool programClassPool,
ClassPool libraryClassPool)
Prints out the seeds for the classes in the given program class pool.
|
| Constructor and Description |
|---|
ClassMemberChecker(ClassPool programClassPool,
WarningPrinter notePrinter)
Creates a new ClassMemberChecker.
|
DescriptorKeepChecker(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter notePrinter)
Creates a new DescriptorKeepChecker.
|
FullyQualifiedClassNameChecker(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter notePrinter)
Creates a new FullyQualifiedClassNameChecker.
|
LibraryKeepChecker(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter notePrinter)
Creates a new DescriptorKeepChecker.
|
| Constructor and Description |
|---|
ClassReferenceInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter missingClassWarningPrinter,
WarningPrinter missingProgramMemberWarningPrinter,
WarningPrinter missingLibraryMemberWarningPrinter,
WarningPrinter dependencyWarningPrinter)
Creates a new ClassReferenceInitializer that initializes the references
of all visited class files, optionally printing warnings if some classes
or class members can't be found or if they are in the program class pool.
|
ClassSuperHierarchyInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter missingWarningPrinter,
WarningPrinter dependencyWarningPrinter)
Creates a new ClassSuperHierarchyInitializer that initializes the super
hierarchy of all visited class files, optionally printing warnings if
some classes can't be found or if they are in the program class pool.
|
DynamicClassReferenceInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter missingNotePrinter,
WarningPrinter dependencyWarningPrinter,
WarningPrinter notePrinter,
StringMatcher noteExceptionMatcher)
Creates a new DynamicClassReferenceInitializer that optionally prints
warnings and notes, with optional class specifications for which never
to print notes.
|
DynamicMemberReferenceInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter notePrinter,
StringMatcher noteFieldExceptionMatcher,
StringMatcher noteMethodExceptionMatcher)
Creates a new DynamicMemberReferenceInitializer.
|
StringReferenceInitializer(ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new StringReferenceInitializer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
NamedClassVisitor.visitClassPool(ClassPool classPool) |
void |
AllClassVisitor.visitClassPool(ClassPool classPool) |
void |
ClassPoolVisitor.visitClassPool(ClassPool classPool) |
void |
MultiClassPoolVisitor.visitClassPool(ClassPool classPool) |
| Constructor and Description |
|---|
ClassPoolFiller(ClassPool classPool)
Creates a new ClassPoolFiller.
|
ClassPresenceFilter(ClassPool classPool,
ClassVisitor presentClassVisitor,
ClassVisitor missingClassVisitor)
Creates a new ClassPresenceFilter.
|
| Constructor and Description |
|---|
ClassRewriter(ClassPool classPool,
DataEntryWriter dataEntryWriter) |
DataEntryObfuscator(ClassPool classPool,
Map packagePrefixMap,
DataEntryReader dataEntryReader)
Creates a new DataEntryObfuscator.
|
DataEntryRewriter(ClassPool classPool,
DataEntryWriter dataEntryWriter)
Creates a new DataEntryRewriter.
|
ManifestRewriter(ClassPool classPool,
DataEntryWriter dataEntryWriter)
Creates a new ManifestRewriter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Obfuscator.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Performs obfuscation of the given program class pool.
|
| Constructor and Description |
|---|
ClassObfuscator(ClassPool programClassPool,
DictionaryNameFactory classNameFactory,
DictionaryNameFactory packageNameFactory,
boolean useMixedCaseClassNames,
List keepPackageNames,
String flattenPackageHierarchy,
String repackageClasses,
boolean allowAccessModification)
Creates a new ClassObfuscator.
|
MappingKeeper(ClassPool classPool,
WarningPrinter warningPrinter)
Creates a new MappingKeeper.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Optimizer.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Performs optimization of the given program class pool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SideEffectMethodMarker.visitClassPool(ClassPool classPool) |
| Modifier and Type | Method and Description |
|---|---|
void |
Preverifier.execute(ClassPool programClassPool)
Performs preverification of the given program class pool.
|
void |
SubroutineInliner.execute(ClassPool programClassPool)
Performs subroutine inlining of the given program class pool.
|
| Modifier and Type | Method and Description |
|---|---|
ClassPool |
Shrinker.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Performs shrinking of the given program class pool.
|
| Modifier and Type | Method and Description |
|---|---|
ClassPool |
Shrinker.execute(ClassPool programClassPool,
ClassPool libraryClassPool)
Performs shrinking of the given program class pool.
|
Copyright © 2015. All Rights Reserved.