| Package | Description |
|---|---|
| proguard |
This package contains the main ProGuard application.
|
| proguard.backport | |
| proguard.classfile.editor |
This package contains visitors to edit byte code.
|
| 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.configuration | |
| 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.gson |
This package contains classes for optimizing usages of the Gson library for serializing and deserialing Json.
|
| 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.
|
| 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 |
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 |
OutputWriter.execute(ClassPool programClassPool,
MultiValueMap<String,String> injectedClassNameMap)
Writes the given class pool to 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.
|
DataEntryWriterFactory(ClassPool programClassPool,
MultiValueMap<String,String> extraClassNamemap)
Creates a new DataEntryWriterFactory with the given parameters.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Backporter.execute(ClassPool programClassPool,
ClassPool libraryClassPool,
MultiValueMap<String,String> injectedClassNameMap) |
| Constructor and Description |
|---|
JSR310Converter(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter warningPrinter,
ClassVisitor modifiedClassVisitor,
InstructionVisitor extraInstructionVisitor)
Create a new JSR310Converter instance.
|
LambdaExpressionConverter(ClassPool programClassPool,
ClassPool libraryClassPool,
MultiValueMap<String,String> injectedClassNameMap,
ClassVisitor extraClassVisitor) |
StaticInterfaceMethodConverter(ClassPool programClassPool,
ClassPool libraryClassPool,
MultiValueMap<String,String> injectedClassNameMap,
ClassVisitor modifiedClassVisitor,
MemberVisitor extraMemberVisitor) |
StreamSupportConverter(ClassPool programClassPool,
ClassPool libraryClassPool,
WarningPrinter warningPrinter,
ClassVisitor modifiedClassVisitor,
InstructionVisitor extraInstructionVisitor)
Create a new StreamSupportConverter instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SimplifiedClassEditor.finishEditing(ClassPool programClassPool,
ClassPool libraryClassPool)
Finalizes the editing of the class, and initializes all references
of the edited class w.r.t.
|
| Constructor and Description |
|---|
ConstantPoolEditor(ProgramClass targetClass,
ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new ConstantPoolEditor that automatically initializes class
references and class member references in new constants.
|
InstructionSequenceBuilder(ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new InstructionSequenceBuilder that automatically initializes
class references and class member references in new constants.
|
InstructionSequenceBuilder(ProgramClass targetClass,
ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new InstructionSequenceBuilder that automatically initializes
class references and class member references in new constants.
|
| Constructor and Description |
|---|
ClassReferenceInitializer(ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new ClassReferenceInitializer that initializes the references
of all visited class files.
|
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)
Creates a new ClassSuperHierarchyInitializer that initializes the super
hierarchy of all visited class files.
|
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 |
ClassPoolVisitor.visitClassPool(ClassPool classPool) |
void |
AllClassVisitor.visitClassPool(ClassPool classPool) |
void |
ClassPoolClassVisitor.visitClassPool(ClassPool classPool) |
void |
MultiClassPoolVisitor.visitClassPool(ClassPool classPool) |
void |
ParallelAllClassVisitor.visitClassPool(ClassPool classPool) |
| Constructor and Description |
|---|
ClassPoolFiller(ClassPool classPool)
Creates a new ClassPoolFiller.
|
ClassPoolRemover(ClassPool classPool)
Creates a new ClassPoolFiller.
|
ClassPresenceFilter(ClassPool classPool,
ClassVisitor presentClassVisitor,
ClassVisitor missingClassVisitor)
Creates a new ClassPresenceFilter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigurationLoggingAdder.execute(ClassPool programClassPool,
ClassPool libraryClassPool,
MultiValueMap<String,String> injectedClassMap)
Instruments the given program class pool.
|
| Constructor and Description |
|---|
ConfigurationLoggingInstructionSequenceConstants(ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new instance of ResourceIdInstructionSequenceConstants,
with constants that reference classes from the given class pools.
|
| Constructor and Description |
|---|
ClassDataEntryWriter(ClassPool classPool,
DataEntryWriter dataEntryWriter)
Creates a new ClassDataEntryWriter.
|
ClassMapDataEntryWriter(ClassPool programClassPool,
DataEntryWriter dataEntryWriter) |
DataEntryRewriter(ClassPool classPool,
Charset charset,
DataEntryWriter dataEntryWriter)
Creates a new DataEntryRewriter.
|
ManifestRewriter(ClassPool classPool,
Charset charset,
DataEntryWriter dataEntryWriter)
Creates a new ManifestRewriter.
|
RenamedDataEntryWriter(ClassPool classPool,
Map packagePrefixMap,
DataEntryWriter dataEntryWriter)
Creates a new RenamedDataEntryWriter.
|
| 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,
ClassPool libraryClassPool,
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,
MultiValueMap<String,String> injectedClassNameMap)
Performs optimization of the given program class pool.
|
| Modifier and Type | Field and Description |
|---|---|
ClassPool |
GsonContext.filteredClasses |
ClassPool |
GsonContext.gsonDomainClassPool |
ClassPool |
GsonContext.instanceCreatorClassPool |
ClassPool |
GsonContext.typeAdapterClassPool |
| Modifier and Type | Method and Description |
|---|---|
void |
GsonOptimizer.execute(ClassPool programClassPool,
ClassPool libraryClassPool,
MultiValueMap<String,String> injectedClassNameMap,
Configuration configuration)
Performs the Gson optimizations.
|
void |
GsonContext.setupFor(ClassPool programClassPool,
WarningPrinter notePrinter)
Sets up the Gson context for the given program class pool.
|
| Constructor and Description |
|---|
GsonBuilderInvocationFinder(ClassPool programClassPool,
GsonRuntimeSettings gsonRuntimeSettings,
ClassVisitor instanceCreatorClassVisitor,
ClassVisitor typeAdapterClassVisitor)
Creates a new GsonBuilderInvocationFinder.
|
GsonDeserializationInvocationFinder(ClassPool programClassPool,
ClassVisitor domainClassVisitor,
WarningPrinter notePrinter)
Creates a new GsonDeserializationInvocationFinder.
|
GsonDeserializationOptimizer(ClassPool programClassPool,
ClassPool libraryClassPool,
GsonRuntimeSettings gsonRuntimeSettings,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo deserializationInfo,
MultiValueMap<String,String> injectedClassNameMap)
Creates a new GsonDeserializationOptimizer.
|
GsonDomainClassFinder(ClassPool typeAdapterClassPool,
ClassPool gsonDomainClassPool,
WarningPrinter notePrinter)
Creates a new GsonDomainClassFinder.
|
GsonInstrumentationAdder(ClassPool programClassPool,
ClassPool libraryClassPool,
CodeAttributeEditor codeAttributeEditor)
Creates a new GsonInstrumentationAdder.
|
GsonSerializationInvocationFinder(ClassPool programClassPool,
ClassVisitor domainClassVisitor,
WarningPrinter notePrinter)
Creates a new GsonSerializationInvocationFinder.
|
GsonSerializationOptimizer(ClassPool programClassPool,
ClassPool libraryClassPool,
GsonRuntimeSettings gsonRuntimeSettings,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo serializationInfo,
MultiValueMap<String,String> injectedClassNameMap)
Creates a new GsonSerializationOptimizer.
|
OptimizedJsonReaderImplInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo deserializationInfo)
Creates a new OptimizedJsonReaderImplInitializer.
|
OptimizedJsonWriterImplInitializer(ClassPool programClassPool,
ClassPool libraryClassPool,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo serializationInfo)
Creates a new OptimizedJsonWriterImplInitializer.
|
OptimizedTypeAdapterAdder(ClassPool programClassPool,
ClassPool libraryClassPool,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo serializationInfo,
OptimizedJsonInfo deserializationInfo,
MultiValueMap<String,String> injectedClassNameMap,
Map<String,String> typeAdapterRegistry,
ClassPool instanceCreatorClassPool)
Creates a new OptimizedTypeAdapterAdder.
|
OptimizedTypeAdapterFactoryInitializer(ClassPool programClassPool,
CodeAttributeEditor codeAttributeEditor,
Map<String,String> typeAdapterRegistry,
GsonRuntimeSettings gsonRuntimeSettings)
Creates a new OptimizedTypeAdapterFactoryInitializer.
|
OptimizedTypeAdapterInitializer(String typeAdapterClassName,
ProgramClass objectProgramClass,
CodeAttributeEditor codeAttributeEditor,
OptimizedJsonInfo serializationInfo,
OptimizedJsonInfo deserializationInfo,
ClassPool instanceCreatorClasses,
ClassVisitor classVisitor)
Creates a new OptimizedTypeAdapterInitializer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterEscapedMarker.visitClassPool(ClassPool classPool) |
void |
RepeatedClassPoolVisitor.visitClassPool(ClassPool classPool) |
| Constructor and Description |
|---|
InstructionSequenceConstants(ClassPool programClassPool,
ClassPool libraryClassPool)
Creates a new instance of InstructionSequenceConstants, with constants
that reference classes from the given class pools.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SubroutineInliner.execute(ClassPool programClassPool)
Performs subroutine inlining of the given program class pool.
|
void |
Preverifier.execute(ClassPool programClassPool)
Performs preverification 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 © 2019. All rights reserved.