所有类 接口概要 类概要 枚举概要 异常错误概要
| 类 |
说明 |
| AccessMethodMarker |
This InstructionVisitor marks the types of class accesses and class member
accesses of the methods whose instructions it visits.
|
| AfterInitConfigurationVerifier |
This pass performs configuration checks for which class pools or resource information
should already have been initialized.
|
| AnnotationUsageMarker |
This AttributeVisitor recursively marks all necessary annotation information
in the attributes that it visits.
|
| AppView |
|
| ArgumentWordReader |
A WordReader that returns words from an argument list.
|
| AssumeClassSpecificationVisitorFactory |
This factory creates visitors to efficiently travel to specified classes and
class members and set specified values on them.
|
| AssumeNoSideEffectsChecker |
This class checks if the user is specifying to assume no side effects
for a reasonable number of methods in a class: not none and not all.
|
| AttributeShrinker |
This ClassVisitor removes attributes that are not marked as being used or
required.
|
| AttributeUsageMarker |
This AttributeVisitor marks all attributes that it visits.
|
| Backporter |
This pass backports classes to the specified targetClassVersion.
|
| BackwardBranchMarker |
This InstructionVisitor marks all methods that branch backward in any of the
instructions that it visits.
|
| Benchmark |
|
| BootstrapMethodArgumentShrinker |
This BootstrapMethodInfoVisitor removes unused constant arguments from
bootstrap method entries that it visits.
|
| CalledMemberVisitor |
This InstructionVisitor visits all members that can be executed because of an instruction.
|
| CatchExceptionMarker |
This AttributeVisitor marks all methods that catch exceptions.
|
| CaughtClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
but only for Clazz objects that are caught as exceptions.
|
| CaughtClassMarker |
This ClassVisitor marks all program classes that it visits as caught.
|
| ChangedCodePrinter |
This AttributeVisitor delegates its call to another AttributeVisitor, and
prints out the code if the other visitor has changed it.
|
| ClassFinalizer |
This ClassVisitor makes the program classes that it visits
final, if possible.
|
| ClassMapDataEntryReplacer |
This DataEntryReader writes a class mapping to each received data
entry, used for debugging of the configuration.
|
| ClassMemberChecker |
This class checks if the user has specified non-existent class members.
|
| ClassMemberPair |
Container class for a pair of class + member.
|
| ClassMerger |
This ClassVisitor inlines the classes that it visits in a given target class,
whenever possible.
|
| ClassNameAdapterFunction |
This StringFunction maps given names on obfuscated names, based on the
renamed classes in the given ClassPool.
|
| ClassObfuscator |
This ClassVisitor comes up with obfuscated names for the
classes it visits, and for their class members.
|
| ClassOptimizationInfo |
This class stores some optimization information that can be attached to
a class.
|
| ClassPath |
This class represents a class path, as a list of ClassPathEntry objects.
|
| ClassPathEntry |
This class represents an entry from a class path: an apk, a jar, an aar, a
war, a zip, an ear, or a directory.
|
| ClassRenamer |
This ClassVisitor renames the class names and class member
names of the classes it visits, using names previously determined by the
obfuscator.
|
| ClassShrinker |
This ClassVisitor removes constant pool entries, class members, and other
class elements that are not marked as being used.
|
| ClassSpecification |
This class stores a specification of classes and possibly class members.
|
| ClassSpecificationVisitorFactory |
This factory creates visitors to efficiently travel to specified classes and
class members.
|
| ClassUsageMarker |
This ClassVisitor, MemberVisitor and KotlinMetadataVisitor recursively marks all classes and class
elements that are being used.
|
| ClassUsageMarker.MarkingMode |
|
| CodeAttributeOptimizationInfo |
This class stores some optimization information that can be attached
to a code attribute.
|
| Configuration |
The ProGuard configuration.
|
| ConfigurationConstants |
This class provides constants for parsing and writing ProGuard configurations.
|
| ConfigurationLogger |
This class can be injected in applications to log information about reflection
being used in the application code, and suggest appropriate ProGuard rules for
keeping the reflected classes, methods and/or fields.
|
| ConfigurationLogger.ClassInfo |
Container of processing information of a class.
|
| ConfigurationLogger.MemberInfo |
|
| ConfigurationLoggingAdder |
This pass can add configuration debug logging code to all code that
relies on reflection.
|
| ConfigurationLoggingInstructionSequenceConstants |
This class contains a set of instruction sequences for accessing class
information via reflection, and replacement instructions that add logging
information on the reflection that is used.
|
| ConfigurationLoggingInstructionSequenceReplacer |
This InstructionSequencesReplacer appends logging instructions to all
instructions calling reflection methods.
|
| ConfigurationLoggingInstructionSequencesReplacer |
This InstructionSequencesReplacer appends logging instructions to all
instructions calling reflection methods.
|
| ConfigurationParser |
This class parses ProGuard configurations.
|
| ConfigurationVerifier |
This class performs sanity checks on a given configurations.
|
| ConfigurationWriter |
This class writes ProGuard configurations to a file.
|
| ConstantMemberFilter |
This MemberVisitor delegates its visits to program class members
to another given MemberVisitor, but only when the visited
class member has been marked as a constant.
|
| ConstantParameterFilter |
This MemberVisitor delegates its visits to program methods
to another given MemberVisitor, for each method parameter
that has been marked as constant.
|
| ContainsConstructorsMarker |
This MemberVisitor marks all classes that contain any kind of constructors.
|
| DataEntryReaderFactory |
This class can create DataEntryReader instances based on class path entries.
|
| DataEntryWriterFactory |
This class can create DataEntryWriter instances based on class paths.
|
| DefaultInterfaceMethodConverter |
This ClassVisitor moves all default interface methods in the visited
interfaces to concrete implementations.
|
| DescriptorKeepChecker |
This class checks whether classes referenced by class members that are
marked to be kept are marked to be kept too.
|
| DictionaryNameFactory |
This NameFactory generates names that are read from a specified input file.
|
| DotClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
but only for Clazz objects that are used in a .class construct.
|
| DotClassMarker |
This InstructionVisitor marks all classes that are used in a .class
construct by any of the instructions that it visits.
|
| Dumper |
This pass prints the contents of the program class pool.
|
| DuplicateClassPrinter |
This ClassVisitor writes out notes about the class files that it visits
being duplicates.
|
| DuplicateInitializerFixer |
This MemberVisitor adds an additional parameter to the duplicate
initialization methods that it visits.
|
| DuplicateInitializerInvocationFixer |
This AttributeVisitor adds an additional integer parameter to the tweaked
initialization method invocations that it visits.
|
| DuplicateResourceFilePrinter |
This ResourceFileVisitor writes out notes about the resource files that it visits
being duplicates.
|
| DynamicInvocationMarker |
This InstructionVisitor marks whether the methods whose instructions it
visits contain the invokedynamic instruction.
|
| EscapingClassFilter |
This ClassVisitor delegates its visits to one of two other given
ClassVisitor instances, depending on whether the classes are marked to be
escaping or not.
|
| EscapingClassMarker |
This AttributeVisitor marks the classes that are escaping from the visited
code attributes.
|
| EvaluationShrinker |
This AttributeVisitor shrinks the code attributes that it visits, based
on partial evaluation.
|
| EvaluationSimplifier |
This AttributeVisitor simplifies the code attributes that it visits, based
on partial evaluation.
|
| ExceptionInstructionChecker |
This class can tell whether an instruction might throw exceptions.
|
| ExtraDataEntryNameMap |
Map keeping track of all data entries that have associated extra data entries with them.
|
| ExtraDataEntryReader |
This DataEntryReader delegates to another DataEntryReader, inserting
additional data entries that are attached to the read data entry.
|
| FieldOptimizationInfo |
This class stores some optimization information that can be attached to
a field.
|
| FileWordReader |
A WordReader that returns words from a file or a URL.
|
| FinalFieldAssignmentMarker |
This InstructionVisitor marks whether a final field is assigned
in the methods whose instructions it visits.
|
| FullyQualifiedClassNameChecker |
This class checks if the user has forgotten to fully qualify any classes
in the configuration.
|
| GetAnnotationChecker |
This constant visitor checks whether visited method references try to
access annotations.
|
| GetEnclosingClassChecker |
This constant visitor checks whether visited method references try to
access enclosing classes.
|
| GetEnclosingMethodChecker |
This constant visitor checks whether visited method references try to
access enclosing methods.
|
| GetSignatureChecker |
This constant visitor checks whether visited method references try to
access signatures.
|
| GotoCommonCodeReplacer |
This AttributeVisitor redirects unconditional branches so any common code
is shared, and the code preceding the branch can be removed, in the code
attributes that it visits.
|
| GotoGotoReplacer |
This InstructionVisitor simplifies unconditional branches to other
unconditional branches.
|
| GotoReturnReplacer |
This InstructionVisitor replaces unconditional branches to return instructions
by these same return instructions.
|
| GPL |
This class checks and prints out information about the GPL.
|
| GsonAnnotationCleaner |
This class visitor removes Gson annotations that are not required anymore
after the Gson optimizations are applied.
|
| GsonBuilderInvocationFinder |
This instructor visitor searches for invocations to GsonBuilder and keeps
track of which parameters of the GsonBuilder are being utilized in the code
in a GsonRuntimeSettings instance.
|
| GsonClassConstants |
Constants used in the classes of the GSON library.
|
| GsonConstructorPatcher |
Class visitor that patches the constructor of Gson so that the injected
optimized type adapter factory is registered at the right priority.
|
| GsonContext |
This class groups all information about how the Gson library is being used
in a program class pool.
|
| GsonDeserializationInvocationFinder |
This instruction visitor searches the code for invocations to any of the
deserialization methods of Gson (all the fromJson variants) and keeps
track of the domain classes that are involved in the deserialization.
|
| GsonDeserializationOptimizer |
This visitor injects a fromJson$xxx() method into the classes that it visits
that deserializes its fields from Json.
|
| GsonDomainClassFinder |
This class visitor determines whether a given domain class can be optimized
by the GSON optimizations and traverses both the class and field hierarchy
to look for further domain classes.
|
| GsonInstrumentationAdder |
Instruction visitor that adds some instrumentation code to the Gson.toJson()
and Gson.fromJson() methods that prints out the type adapter cache.
|
| GsonOptimizer |
This pass is the entry point for the GSON optimizations.
|
| GsonRuntimeSettings |
This class keeps track of which parameters of the GsonBuilder are being
utilized in the code.
|
| GsonSerializationInvocationFinder |
This instruction visitor searches the code for invocations to any of the
serialization methods of Gson (all the toJson variants) and keeps
track of the domain classes that are involved in the serialization.
|
| GsonSerializationOptimizer |
This visitor injects a toJson$xxx() method into the classes that it visits
that serializes its fields to Json.
|
| HashUtil |
Hashing functions.
|
| HorizontalClassMerger |
This ClassPoolVisitor inlines siblings in the program classes that it visits, whenever possible.
|
| InfluenceFixpointVisitor |
This ClassPoolVisitor visits members using visitors created by a factory.
|
| InfluenceFixpointVisitor.MemberVisitorFactory |
A factory of MemberVisitor instances.
|
| Initializer |
This pass initializes class pools and resource information.
|
| InitialStateInfo |
Stores the initial state of a classpool and resource files including
class names, super class names and hashes of fields and methods; and
resource filenames.
|
| InjectedClassFilter |
This ClassVisitor delegates to one of two other visitors, depending on
whether the visited class was injected or not.
|
| InnerUsageMarker |
This AttributeVisitor recursively marks all necessary inner class information
in the attributes that it visits.
|
| InputReader |
This pass reads the input class files.
|
| InstanceofClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
but only for Clazz objects that are used in an 'instanceof' test.
|
| InstanceofClassMarker |
This InstructionVisitor marks all classes that are used in an 'instanceof'
test by any of the instructions that it visits.
|
| InstantiationClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
but only for Clazz objects that are instantiated.
|
| InstantiationClassMarker |
This InstructionVisitor marks all classes that are instantiated by any of
the instructions that it visits.
|
| InstructionSequenceConstants |
This class contains a set of instruction sequences with their suggested
more compact or more efficient replacements.
|
| InstructionSequenceObfuscator |
|
| InstructionUsageMarker |
This AttributeVisitor marks necessary instructions in the code attributes
that it visits, based on partial evaluation.
|
| InterfaceUsageMarker |
This ClassVisitor recursively marks all interface
classes that are being used in the visited class.
|
| JSR310Converter |
This ClassVisitor will replace any occurrence of java.time.** related methods / types
that have been introduced in Java 8 to the threetenbp library.
|
| KeepClassMemberChecker |
This class checks if the user has forgotten to specify class members in
some keep options in the configuration.
|
| KeepClassSpecification |
This class represents a keep option with class specification.
|
| KeepClassSpecificationVisitorFactory |
This factory creates visitors to efficiently travel to specified classes and
class members.
|
| KeepMarker |
This ClassVisitor, MemberVisitor and
AttributeVisitor marks classes, class members and
code attributes it visits.
|
| KeptClassFilter |
This ClassVisitor delegates its visits to one of two ClassVisitor's,
depending on whether the visited class is kept or not.
|
| KeptMemberFilter |
This MemberVisitor delegates all its method calls to another MemberVisitor,
but only for Member objects that are marked as kept.
|
| KotlinAliasNameObfuscator |
|
| KotlinAliasReferenceFixer |
|
| KotlinAnnotationCounter |
|
| KotlinAnnotationFlagFixer |
|
| KotlinAnnotationStripper |
This pass aggressively strips the kotlin.Metadata annotation from classes.
|
| KotlinCallableReferenceFixer |
This class fixes the CallableReference implementations of function and property references.
|
| KotlinCallableReferenceFixer.NameAndSignatureReplacementSequences |
|
| KotlinCallableReferenceFixer.NameOrSignatureReplacementSequences |
|
| KotlinCallableReferenceFixer.OwnerReplacementSequences |
|
| KotlinCompanionEqualizer |
|
| KotlinContextParameterUsageMarker |
This Kotlin metadata visitor marks the parameters of methods used, using the ParameterUsageMarker, if those parameters correspond to Kotlin context parameters.
|
| KotlinContextReceiverUsageMarker |
This Kotlin metadata visitor marks the parameters of methods used,
using the ParameterUsageMarker, if those parameters correspond
to Kotlin context receivers.
|
| KotlinDefaultImplsMethodNameEqualizer |
|
| KotlinDefaultMethodNameEqualizer |
|
| KotlinIntrinsicsReplacementSequences |
|
| KotlinMetadataAdapter |
|
| KotlinMetadataVerifier |
This pass performs a series of checks to see whether the kotlin metadata is intact.
|
| KotlinModuleFixer |
This class fixes the KotlinModule fileName to match the module name
and the strings referring to classes to match the obfuscated names.
|
| KotlinModuleNameObfuscator |
|
| KotlinModuleShrinker |
Shrink the contents of the Kotlin module based on if the referenced
classes are used or not.
|
| KotlinModuleUsageMarker |
|
| KotlinMultiFileFacadeFixer |
Ensure that multi-file class parts and multi-file facades are kept in the same package.
|
| KotlinObjectFixer |
This fixer ensures that the INSTANCE field in an object class remains named INSTANCE.
|
| KotlinPropertyNameObfuscator |
|
| KotlinPropertyRenamer |
|
| KotlinShrinker |
|
| KotlinSourceDebugExtensionAttributeObfuscator |
This class sets the SourceDebugExtension attribute to a basic minimum
SMAP entry.
|
| KotlinSyntheticClassFixer |
Synthetic classes are created for lambdas, $DefaultImpls and $WhenMappings.
|
| KotlinSyntheticToStringObfuscator |
Some types of Kotlin classes (i.e. data, value, inline) simply hold data.
|
| KotlinUnsupportedExceptionReplacementSequences |
The Kotlin compiler automatically inserts a null check into $default methods,
checking the last parameter but the string contains the original name of the
method.
|
| KotlinUnsupportedVersionChecker |
This pass checks the attached a class' attached Kotlin metadata for unsupported metadata.
|
| KotlinValueParameterNameShrinker |
|
| KotlinValueParameterUsageMarker |
This KotlinMetadataVisitor marks ValueParameters of constructors, properties and functions
if their referenced method is not obfuscated.
|
| LambdaExpression |
A small helper class that captures useful information
about a lambda expression as encountered in a class file.
|
| LambdaExpressionCollector |
This ClassVisitor collects all lambda expressions that are defined in
a visited class.
|
| LambdaExpressionConverter |
This ClassVisitor converts all lambda expressions in the visited
classes to anonymous inner classes.
|
| LibraryKeepChecker |
This class checks whether some keep rules only keep library classes, no
program classes.
|
| LineNumberLinearizer |
This pass disambiguates line numbers, in the classes that it
visits.
|
| LineNumberTrimmer |
Trims the line number table attributes of all program classes.
|
| LineWordReader |
A WordReader that returns words from a line number reader.
|
| LoadingInvocationUnit |
This InvocationUnit loads parameter values and return values that were
previously stored with the methods that are invoked.
|
| LocalVariableTypeUsageMarker |
This AttributeVisitor recursively marks all information that points to used
classes, in the LocalVariableTable and LocalVariableTypeTable attributes that
it visits.
|
| Logging |
|
| MapCleaner |
This ClassVisitor clears a given map whenever it visits a class.
|
| MappingKeeper |
This MappingKeeper applies the mappings that it receives to its class pool,
so these mappings are ensured in a subsequent obfuscation step.
|
| MappingPrinter |
This ClassVisitor prints out the renamed classes and class members with
their old names and new names.
|
| MappingProcessor |
This interface specifies methods to process name mappings between original
classes and their obfuscated versions.
|
| MappingReader |
This class can parse mapping files and invoke a processor for each of the
mapping entries.
|
| Marker |
This pass translates the keep rules and other class specifications from the
configuration into processing flags on classes and class members.
|
| Marker.KotlinDontOptimizeMarker |
This KotlinMetadataVisitor marks classes and members with DONT_OPTIMIZE if it is known
that optimizing them would break Kotlin functionality.
|
| MemberDescriptorSpecializer |
This MemberVisitor specializes class types in the descriptors of the fields
and methods that it visits.
|
| MemberNameCleaner |
This MemberVisitor clears the new names of the class members
that it visits.
|
| MemberNameCollector |
This MemberVisitor collects all new (obfuscation) names of the members
that it visits.
|
| MemberNameConflictFixer |
This MemberInfoVisitor solves obfuscation naming conflicts in all class
members that it visits.
|
| MemberObfuscator |
This MemberVisitor obfuscates all class members that it visits.
|
| MemberPrivatizer |
This MemberVisitor makes all class members that it visits private, unless
they have been marked by a NonPrivateMemberMarker.
|
| MemberReferenceGeneralizer |
This InstructionVisitor generalizes the classes referenced by the
field/method invocation instructions that it visits.
|
| MemberSpecialNameFilter |
This MemberVisitor delegates its visits to another given
MemberVisitor, but only when the visited member has a
special new name.
|
| MemberSpecification |
This class stores a specification of class members.
|
| MemberValueSpecification |
This member specification assigns a constant value or value range to the
class members.
|
| MethodDescriptorShrinker |
This MemberVisitor removes unused parameters in the descriptors of the
methods that it visits.
|
| MethodFinalizer |
This MemberVisitor makes the program methods that it visits
final, if possible.
|
| MethodInliner |
This AttributeVisitor is an abstract class representing a visitor considering to inline each method that it
visits in its usage sites.
|
| MethodInvocationMarker |
This InstructionVisitor counts the number of times methods are invoked from
the instructions that are visited.
|
| MethodOptimizationInfo |
This class stores some optimization information that can be attached to
a method.
|
| MethodStaticizer |
This MemberVisitor makes all methods that it visits static, if their 'this'
parameters are unused.
|
| MultiMappingProcessor |
This MappingKeeper delegates all method calls to each MappingProcessor
in a given list.
|
| MutableBoolean |
This class provides a mutable boolean flag.
|
| NameFactory |
This interfaces provides methods to generate unique sequences of names.
|
| NameFactoryResetter |
This ClassVisitor resets a given name factory whenever it visits a class
file.
|
| NameObfuscationReferenceFixer |
This pass fixes references between Java code and resource files.
|
| NestUsageMarker |
This AttributeVisitor marks all necessary nest host attributes, nest
members attributes, and permitted subclasses attributes that it visits.
|
| NewMemberNameFilter |
This MemberVisitor delegates its visits to another given
MemberVisitor, but only when the visited member has a new name.
|
| NoConstructorReferenceReplacer |
This InstructionVisitor replaces instance references on classes without
constructors in all methods that it visits.
|
| NoEscapingParametersMethodMarker |
This MemberVisitor marks all methods that it visits as not having any
escaping parameters (including 'this').
|
| NoExternalReturnValuesMethodMarker |
This MemberVisitor marks all methods that it visits as not having any
return values that are external reference values (only parameters or new
instances).
|
| NoExternalSideEffectMethodMarker |
This MemberVisitor marks all methods that it visits as not having any
external side effects.
|
| NonEmptyStackReturnMarker |
This InstructionVisitor marks all methods that return with a non-empty stack
(other than the return value).
|
| NonPrivateMemberMarker |
This ClassVisitor marks all class members that can not be made private in the
classes that it visits, and in the classes to which they refer.
|
| NopRemover |
This InstructionVisitor removes all nop instructions that it encounters.
|
| NoSideEffectClassMarker |
This ClassVisitor marks all classes that it visits as not having any side
effects.
|
| NoSideEffectMethodMarker |
This MemberVisitor marks all methods that it visits as not having any side
effects.
|
| NumericNameFactory |
This NameFactory generates unique numeric names, starting at
"1".
|
| ObfuscationPreparation |
|
| Obfuscator |
This pass can perform obfuscation of class pools according to a given
specification.
|
| OptimizationCodeAttributeFilter |
This AttributeVisitor delegates calls for code attributes to another
AttributeVisitor, but only if they can be optimized.
|
| OptimizationInfoClassFilter |
This ClassVisitor delegates its visits to another given
ClassVisitor, but only when the visited class has editable
optimization info.
|
| OptimizationInfoMemberFilter |
This MemberVisitor delegates its visits to another given
MemberVisitor, but only when the visited member has editable
optimization info.
|
| OptimizedClassConstants |
Constants used in the injected GSON optimization classes.
|
| OptimizedClassConstants.FromJsonFieldLocals |
|
| OptimizedClassConstants.FromJsonLocals |
|
| OptimizedClassConstants.ReadLocals |
|
| OptimizedClassConstants.ToJsonLocals |
|
| OptimizedClassConstants.WriteLocals |
|
| OptimizedJsonFieldCollector |
This class and member visitor collects the classes and fields that can be
involved in Json (de)serialization and register their Java to Json field
name mapping in an OptimizedJsonInfo object
|
| OptimizedJsonFieldCollector.Mode |
|
| OptimizedJsonFieldVisitor |
This visitor searches the classes that it visits for fields that can be
involved in Json (de)serialization and passes them on to the given member
visitor.
|
| OptimizedJsonInfo |
This class keeps track of which Java classes and fields can be involved in
Json (de)serialization and stores their corresponding Json field names
and internal indices.
|
| OptimizedJsonInfo.ClassJsonInfo |
|
| OptimizedJsonReaderImplInitializer |
This code attribute visitor implements the static initializer of
_OptimizedJsonReaderImpl so that the data structure is initialized
with the correct mapping between Json field names and internal
indices.
|
| OptimizedJsonWriterImplInitializer |
This code attribute visitor implements the static initializer of
_OptimizedJsonWriterImpl so that the data structure is initialized
with the correct mapping between internal indices and Json field names.
|
| OptimizedTypeAdapterAdder |
This ClassVisitor visits domain classes that can be involved in a GSON
(de)serialization and injects an optimized TypeAdapter for each of them.
|
| OptimizedTypeAdapterFactoryInitializer |
This visitor implements the getType() method of the injected
_OptimizedTypeAdapterFactory.
|
| OptimizedTypeAdapterInitializer |
This class visitor transforms the template _OptimizedTypeAdapter into a full
implementation of a GSON TypeAdapter for a specific domain class.
|
| Optimizer |
This pass optimizes class pools according to a given configuration.
|
| OriginalClassNameFilter |
This ClassVisitor delegates its visits to one of two other ClassVisitor's,
depending on whether the visited class still has its original name or not.
|
| OutputWriter |
This pass writes the output class files and resource files, packaged in
jar files, etc, if required.
|
| PackageVisibleMemberContainingClassMarker |
This ClassVisitor marks all classes that contain package visible members.
|
| PackageVisibleMemberInvokingClassMarker |
This ConstantVisitor marks all classes that refer to package visible classes
or class members.
|
| ParameterEscapedMarker |
This ClassPoolVisitor marks the reference parameters that have escaped or
that are escaping, outside or inside their methods.
|
| ParameterEscapeMarker |
This MemberVisitor, AttributeVisitor, and InstructionVisitor marks the
reference parameters that are escaping, that are modified, or that are
returned.
|
| ParameterNameMarker |
This AttributeVisitor trims and marks all local variable (type) table
attributes that it visits.
|
| ParameterShrinker |
This AttributeVisitor removes unused parameters from the code of the methods
that it visits.
|
| ParameterTracingInvocationUnit |
This InvocationUnit tags reference values like
ReferenceTracingInvocationUnit, but adds detail to return values
from invoked methods.
|
| ParameterUsageMarker |
This MemberVisitor counts the parameters and marks the used parameters
of the methods that it visits.
|
| ParseException |
This Exception signals that a parse exception of some
sort has occurred.
|
| Pass |
The interface each ProGuard pass should implement.
|
| PassRunner |
|
| PrefixingNameFactory |
NameFactory that prepends the names of the wrapped NameFactory with a fixed prefix.
|
| PreverificationClearer |
This pass clears any JSE preverification information from the program classes.
|
| Preverifier |
This pass can preverify methods in program class pools, according to a given
configuration.
|
| PrimitiveArrayConstantIntroducer |
This pass replaces primitive array initialization code by primitive array constants.
|
| PrintWriterUtil |
Utility code for creating PrintWriters for printing mappings etc.
|
| ProgramClassOptimizationInfo |
This class stores some optimization information that can be attached to
a class that can be analyzed in detail.
|
| ProgramClassOptimizationInfoSetter |
This ClassVisitor attaches a ProgramClassOptimizationInfo instance to every
class that is not being kept that it visits.
|
| ProgramFieldOptimizationInfo |
This class stores some optimization information that can be attached to
a field that can be analyzed in detail.
|
| ProgramMemberOptimizationInfoSetter |
This MemberVisitor attaches a ProgramFieldOptimizationInfo instance to every
field and a ProgramMethodOptimizationInfo instance to every method that is
not being kept that it visits.
|
| ProgramMethodOptimizationInfo |
This class stores some optimization information that can be attached to
a method that can be analyzed in detail.
|
| ProGuard |
Tool for shrinking, optimizing, obfuscating, and preverifying Java classes.
|
| ProGuardOrigin |
|
| ReachableCodeMarker |
This AttributeVisitor finds all instruction offsets, branch targets, and
exception targets in the CodeAttribute objects that it visits.
|
| ReadWriteFieldMarker |
This InstructionVisitor marks all fields that are write-only.
|
| RecordComponentUsageMarker |
This RecordComponentInfoVisitor marks all record components that
it visits and whose corresponding fields have been marked before.
|
| ReferenceEscapeChecker |
This AttributeVisitor can tell whether reference parameters and instances
are escaping, are modified, or are returned.
|
| RenamedFlagSetter |
This ClassVisitor sets the ACC_RENAMED flag for classes or class members
that have been renamed.
|
| RepeatedClassPoolVisitor |
This ClassPoolVisitor repeatedly delegates to a given class pool visitor, as
long as it keeps setting a given flag.
|
| ReplacementSequences |
|
| Reporter |
Interface for reporting errors.
|
| ResourceFileNameAdapter |
This pass adapts resource file names that correspond to class names, if necessary.
|
| ResourceFileNameObfuscator |
This ResourceFileVisitor obfuscates the names of all visited resource files,
using a given StringFunction to map given names on new, obfuscated names.
|
| ResourceJavaReferenceFixer |
This ResourceFileVisitor fixes the class names of referenced Java
classes whose name have changed.
|
| RetargetedClassFilter |
This ClassVisitor delegates its visits to one of two other given
ClassVisitor instances, depending on whether the classes are marked to be
retargeted or not.
|
| RetargetedInnerClassAttributeRemover |
This ClassVisitor removes InnerClasses and EnclosingMethod attributes in
classes that are retargeted or that refer to classes that are retargeted.
|
| ReverseDependencyCalculator |
This class serves to construct a ReverseDependencyStore through computing its depending objects;
- isCalledBy: a mapping which tells which classes refer to which other classes
- classEqualizers: a mapping which tells which classes have some method with a certain ProgramMethodOptimizationInfo
Note that we never consider library classes as their optimizationInfo is not mutable.
|
| ReverseDependencyStore |
This classes is a data class that is used to query which methods need to be reconsidered for side effects
when side effects for a certain method are derived.
|
| SeedPrinter |
This pass prints out the seeds specified by keep options.
|
| ShortestClassUsageMarker |
This UsageMarker constructs the shortest chain of dependencies.
|
| ShortestUsageMarker |
This SimpleUsageMarker keeps track of the shortest dependency chains.
|
| ShortestUsagePrinter |
This ClassVisitor and MemberVisitor prints out the reasons why
classes and class members have been marked as being used.
|
| ShortMethodInliner |
This AttributeVisitor inlines short methods in the code attributes that it visits.
|
| Shrinker |
This pass shrinks class pools according to a given configuration.
|
| SideEffectClassChecker |
This utility class contains methods to check whether referencing classes
may have side effects due to them being loaded and initialized.
|
| SideEffectClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
but only for Clazz objects that have side effects when they are initialized.
|
| SideEffectClassMarker |
This ClassVisitor marks all classes that it visits as having side effects.
|
| SideEffectInstructionChecker |
This class can tell whether an instruction has any side effects.
|
| SideEffectMethodFilter |
This MemberVisitor delegates all its method calls to another MemberVisitor,
but only for Method objects that are marked as having side effects.
|
| SideEffectMethodMarker |
This MemberVisitor and InstructionVisitor marks all methods and classes
that have side effects.
|
| SimpleEnumArrayPropagator |
This ClassVisitor propagates the value of the $VALUES field to the values()
method in the simple enum classes that it visits.
|
| SimpleEnumClassChecker |
This ClassVisitor marks all program classes that it visits as simple enums,
if their methods qualify.
|
| SimpleEnumClassSimplifier |
This ClassVisitor simplifies the classes that it visits to simple enums.
|
| SimpleEnumDescriptorSimplifier |
This ClassVisitor simplifies the descriptors that contain simple enums in
the program classes that it visits.
|
| SimpleEnumFilter |
This ClassVisitor delegates its visits to one of two other given
ClassVisitor instances, depending on whether the classes are marked
as simple enums or not.
|
| SimpleEnumMarker |
This ClassVisitor marks all program classes that it visits with a given
flag for simple enums.
|
| SimpleEnumUseChecker |
This ClassVisitor marks enums that can't be simplified due to the way they
are used in the classes that it visits.
|
| SimpleEnumUseSimplifier |
This AttributeVisitor simplifies the use of enums in the code attributes that
it visits.
|
| SimpleNameFactory |
This NameFactory generates unique short names, using mixed-case characters or
lower-case characters only.
|
| SimpleUsageMarker |
This class marks processables, in order to remember whether they are
unused, possibly used, or definitely used.
|
| SingleInvocationMethodInliner |
This AttributeVisitor inlines methods that are only invoked once, in the code attributes that it visits.
|
| SourceFileRenamer |
This ClassVisitor changes the name stored in the source file attributes
and source dir attributes of the classes that it visits, if the
attributes are present.
|
| SpecialNameFactory |
This NameFactory generates names that are special, by appending a suffix.
|
| StaticInterfaceMethodConverter |
This ClassVisitor moves all static interface methods in the visited
interfaces to a separate util class and updates all invocations in
the program class pool.
|
| StoringInvocationUnit |
This InvocationUnit stores parameter values and return values with the
methods that are invoked.
|
| StreamSupportConverter |
This ClassVisitor will replace any occurrence of stream related methods / types
that have been introduced in Java 8 to the streamsupport library.
|
| StringConcatenationConverter |
This InstructionVisitor converts all indy String Concatenations in the visited
classes to StringBuilder-append chains.
|
| StringNormalizer |
Ensures all strings are at most 65535 bytes in length, when encoded as modified UTF-8.
|
| SubroutineInliner |
This pass can inline subroutines in methods.
|
| SuperInvocationMarker |
This InstructionVisitor marks all methods that invoke super methods (other
than initializers) from the instructions that it visits.
|
| SynchronizedBlockMethodMarker |
This InstructionVisitor marks the existence of synchronized blocks
of the methods whose instructions it visits.
|
| TailRecursionSimplifier |
This MemberVisitor simplifies tail recursion calls in all methods that it
visits.
|
| TargetClassChanger |
This ClassVisitor replaces references to classes and class members if the
classes have targets that are intended to replace them.
|
| Targeter |
This pass sets the target version on program classes.
|
| TimedClassPoolVisitor |
A simple class pool visitor that will output timing information.
|
| TimeUtil |
|
| TransformedStringMatcher |
This StringMatcher delegates its tests to another given StringMatcher,
with strings that have been transformed with a given function.
|
| UniqueDataEntryWriter |
This DataEntryWriter delegates to a given DataEntryWriter, but a DataEntry can be written
at most one time (uniqueness is based on DataEntry.getName().
|
| UniqueMemberNameFactory |
NameFactory which only generates names that don't exist yet as members on the class for which it
is created.
|
| UnreachableCodeRemover |
This InstructionVisitor deletes blocks of code that can never be reached by
regular calls or branches.
|
| UnreachableExceptionRemover |
This AttributeVisitor removes exception handlers that are unreachable in the
code attributes that it visits.
|
| UnusedParameterMethodFilter |
This MemberVisitor delegates all its method calls to another MemberVisitor,
but only for Method objects that are marked as having unused parameters.
|
| UnusedParameterOptimizationInfoUpdater |
This AttributeVisitor removes unused parameters from the optimization info
of the methods that it visits.
|
| UpToDateChecker |
This class checks whether the output is up to date.
|
| UpToDateChecker.UpToDateException |
This Exception is thrown when the output is up-to-date.
|
| UsageMarker |
Marks classes, resources, resource files and native libraries as being used,
starting from the given seeds (keep rules, Android Manifest).
|
| UsagePrinter |
This ClassVisitor prints out the classes and class members that have been
marked as being used (or not used).
|
| UsedClassFilter |
This ClassVisitor delegates all its method calls to another ClassVisitor,
depending on whether the Clazz objects are marked as used.
|
| UsedMemberFilter |
This MemberVisitor delegates all its method calls to another MemberVisitor,
but only for Member objects that are marked as used.
|
| UsedParameterFilter |
This ParameterVisitor delegates all its visits to one of two other
ParameterVisitor instances, depending on whether the parameter is
used or not.
|
| VariableOptimizer |
This AttributeVisitor optimizes variable allocation based on their the liveness,
in the code attributes that it visits.
|
| VariableShrinker |
This MemberVisitor removes unused local variables from the code of the methods
that it visits.
|
| VariableUsageMarker |
This AttributeVisitor marks the local variables that are used in the code
attributes that it visits.
|
| VerticalClassMerger |
This ClassVisitor inlines the direct subclasses into the program classes
that it visits, whenever possible.
|
| WordReader |
An abstract reader of words, with the possibility to include other readers.
|
| WrapperClassMarker |
This ClassVisitor marks all program classes that are a simple wrapper for a
single non-null instance of another class.
|
| WrapperClassMerger |
This ClassVisitor inlines the wrapper classes that it visits into their
wrapped classes, whenever possible.
|
| WrapperClassUseSimplifier |
This AttributeVisitor simplifies the use of retargeted wrapper classes in
the code attributes that it visits.
|
| WriteOnlyFieldFilter |
This MemberVisitor delegates its visits to program fields to
other given MemberVisitor instances, but only when the visited
field has been marked as write-only.
|
| _GsonUtil |
This utility class is injected into the program class pool when the GSON
optimizations are applied.
|
| _OptimizedJsonReader |
Interface for reading Json fields and values using an internal index.
|
| _OptimizedJsonReaderImpl |
This class is a template for an _OptimizedJsonReader implementation.
|
| _OptimizedJsonWriter |
|
| _OptimizedJsonWriterImpl |
This class is a template for an _OptimizedJsonWriter implementation.
|
| _OptimizedTypeAdapter |
Marker interface for all injected optimized GSON type adapters.
|
| _OptimizedTypeAdapterFactory |
Template class for the optimized type adapter factory that deals with all
optimized GSON domain classes.
|
| _OptimizedTypeAdapterImpl |
Template class for an optimized GSON type adapter.
|