- adaptClassStrings - Variable in class proguard.Configuration
-
A list of Strings specifying a filter for classes whose
string constants are to be adapted, based on corresponding obfuscated
class names.
- adaptResourceFileContents - Variable in class proguard.Configuration
-
A list of Strings specifying a filter for files whose
contents are to be adapted, based on obfuscated class names.
- adaptResourceFileNames - Variable in class proguard.Configuration
-
A list of Strings specifying a filter for files whose
names are to be adapted, based on corresponding obfuscated class names.
- add(int, ClassPathEntry) - Method in class proguard.ClassPath
-
- add(ClassPathEntry) - Method in class proguard.ClassPath
-
- addAll(ClassPath) - Method in class proguard.ClassPath
-
- addConfigurationDebugging - Variable in class proguard.Configuration
-
Specifies whether to add logging to reflection code, providing suggestions
on the ProGuard configuration.
- addField(MemberSpecification) - Method in class proguard.ClassSpecification
-
Specifies to keep the specified field(s) of this option's class(es).
- addMethod(MemberSpecification) - Method in class proguard.ClassSpecification
-
Specifies to keep the specified method(s) of this option's class(es).
- allowAccessModification - Variable in class proguard.Configuration
-
Specifies whether the access of class members can be modified.
- allowObfuscation - Variable in class proguard.KeepClassSpecification
-
- allowOptimization - Variable in class proguard.KeepClassSpecification
-
- allowShrinking - Variable in class proguard.KeepClassSpecification
-
- android - Variable in class proguard.Configuration
-
Specifies whether the code should be targeted at the Android platform.
- annotationType - Variable in class proguard.ClassSpecification
-
- annotationType - Variable in class proguard.MemberSpecification
-
- applyMapping - Variable in class proguard.Configuration
-
An optional input file for reading an obfuscation mapping.
- ArgumentWordReader - Class in proguard
-
A WordReader that returns words from an argument list.
- ArgumentWordReader(String[], File) - Constructor for class proguard.ArgumentWordReader
-
Creates a new ArgumentWordReader for the given arguments, with the
given base directory.
- assumeNoEscapingParameters - Variable in class proguard.Configuration
-
A list of
ClassSpecification instances, whose methods are
assumed not to let any reference parameters escape (including 'this').
- assumeNoExternalReturnValues - Variable in class proguard.Configuration
-
A list of
ClassSpecification instances, whose methods are
assumed not to return any external references (only parameters and new
instances).
- assumeNoExternalSideEffects - Variable in class proguard.Configuration
-
A list of
ClassSpecification instances, whose methods are
assumed to have no side external effects (that is, outside of 'this').
- assumeNoSideEffects - Variable in class proguard.Configuration
-
A list of
ClassSpecification instances, whose methods are
assumed to have no side effects.
- AssumeNoSideEffectsChecker - Class in proguard
-
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.
- AssumeNoSideEffectsChecker(WarningPrinter) - Constructor for class proguard.AssumeNoSideEffectsChecker
-
Creates a new KeepClassMemberChecker.
- attributeNames - Variable in class proguard.ClassSpecification
-
- attributeNames - Variable in class proguard.MemberSpecification
-
- check() - Method in class proguard.ConfigurationChecker
-
Checks the given configuration for potential problems.
- check() - Static method in class proguard.GPL
-
Prints out a note about the GPL if ProGuard is linked against unknown
code.
- check() - Method in class proguard.UpToDateChecker
-
Returns whether the output is up to date, based on the modification times
of the input jars, output jars, and library jars (or directories).
- checkClassSpecifications(List) - Method in class proguard.AssumeNoSideEffectsChecker
-
Checks if the given class specifications try to assume no side effects
for all methods in a class, printing notes if necessary.
- checkClassSpecifications(List) - Method in class proguard.ClassMemberChecker
-
Checks the classes mentioned in the given class specifications, printing
notes if necessary.
- checkClassSpecifications(List) - Method in class proguard.DescriptorKeepChecker
-
Checks the classes mentioned in the given keep specifications, printing
notes if necessary.
- checkClassSpecifications(List) - Method in class proguard.FullyQualifiedClassNameChecker
-
Checks the classes mentioned in the given class specifications, printing
notes if necessary.
- checkClassSpecifications(List) - Method in class proguard.KeepClassMemberChecker
-
Checks if the given class specifications try to keep class members
without actually specifying any, printing notes if necessary.
- checkClassSpecifications(List) - Method in class proguard.LibraryKeepChecker
-
Checks the classes mentioned in the given keep specifications, printing
notes if necessary.
- ClassMemberChecker - Class in proguard
-
This class checks if the user has specified non-existent class members.
- ClassMemberChecker(ClassPool, WarningPrinter) - Constructor for class proguard.ClassMemberChecker
-
Creates a new ClassMemberChecker.
- className - Variable in class proguard.ClassSpecification
-
- classObfuscationDictionary - Variable in class proguard.Configuration
-
An optional name of a file containing obfuscated class names.
- ClassPath - Class in proguard
-
This class represents a class path, as a list of ClassPathEntry objects.
- ClassPath() - Constructor for class proguard.ClassPath
-
- ClassPathEntry - Class in proguard
-
This class represents an entry from a class path: an apk, a jar, an aar, a
war, a zip, an ear, or a directory, with a name and a flag to indicates
whether the entry is an input entry or an output entry.
- ClassPathEntry(File, boolean) - Constructor for class proguard.ClassPathEntry
-
Creates a new ClassPathEntry with the given file and output flag.
- ClassSpecification - Class in proguard
-
This class stores a specification of classes and possibly class members.
- ClassSpecification() - Constructor for class proguard.ClassSpecification
-
Creates a new ClassSpecification for all possible classes, without
comments or class members.
- ClassSpecification(ClassSpecification) - Constructor for class proguard.ClassSpecification
-
Creates a new ClassSpecification that is a copy of the given specification.
- ClassSpecification(String, int, int, String, String, String, String) - Constructor for class proguard.ClassSpecification
-
Creates a new ClassSpecification for the specified class(es), without
class members.
- ClassSpecification(String, int, int, String, String, String, String, List, List) - Constructor for class proguard.ClassSpecification
-
Creates a new ClassSpecification for the specified classes and class
members.
- ClassSpecificationVisitorFactory - Class in proguard
-
This factory creates visitors to efficiently travel to specified classes and
class members.
- ClassSpecificationVisitorFactory() - Constructor for class proguard.ClassSpecificationVisitorFactory
-
- clear() - Method in class proguard.ClassPath
-
- clone() - Method in class proguard.ClassSpecification
-
- clone() - Method in class proguard.KeepClassSpecification
-
- close() - Method in class proguard.ConfigurationParser
-
Closes the configuration.
- close() - Method in class proguard.ConfigurationWriter
-
Closes this ConfigurationWriter.
- close() - Method in class proguard.LineWordReader
-
- close() - Method in class proguard.WordReader
-
Closes the FileWordReader.
- comments - Variable in class proguard.ClassSpecification
-
- condition - Variable in class proguard.KeepClassSpecification
-
- Configuration - Class in proguard
-
The ProGuard configuration.
- Configuration() - Constructor for class proguard.Configuration
-
- ConfigurationChecker - Class in proguard
-
This class performs sanity checks on a given configurations.
- ConfigurationChecker(Configuration) - Constructor for class proguard.ConfigurationChecker
-
Creates a new ConfigurationChecker with the given configuration.
- ConfigurationParser - Class in proguard
-
This class parses ProGuard configurations.
- ConfigurationParser(String[], Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given String arguments and
the given Properties.
- ConfigurationParser(String[], File, Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given String arguments,
with the given base directory and the given Properties.
- ConfigurationParser(String, String, File, Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given lines,
with the given base directory and the given Properties.
- ConfigurationParser(File) - Constructor for class proguard.ConfigurationParser
-
Deprecated.
Temporary code for backward compatibility in Obclipse.
- ConfigurationParser(File, Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given file and the given
Properties.
- ConfigurationParser(URL, Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given URL and the given
Properties.
- ConfigurationParser(WordReader, Properties) - Constructor for class proguard.ConfigurationParser
-
Creates a new ConfigurationParser for the given word reader and the
given Properties.
- ConfigurationWriter - Class in proguard
-
This class writes ProGuard configurations to a file.
- ConfigurationWriter(File) - Constructor for class proguard.ConfigurationWriter
-
Creates a new ConfigurationWriter for the given file name.
- ConfigurationWriter(OutputStream) - Constructor for class proguard.ConfigurationWriter
-
Creates a new ConfigurationWriter for the given OutputStream.
- ConfigurationWriter(PrintWriter) - Constructor for class proguard.ConfigurationWriter
-
Creates a new ConfigurationWriter for the given PrintWriter.
- createClassPoolVisitor(List, ClassVisitor, MemberVisitor) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes, class members, and attributes.
- createClassPoolVisitor(List, ClassVisitor, MemberVisitor, MemberVisitor, AttributeVisitor) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes and class members.
- createClassPoolVisitor(ClassSpecification, ClassVisitor, MemberVisitor, MemberVisitor, AttributeVisitor, List) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes, class members, and attributes.
- createClassPoolVisitor(List, ClassVisitor, MemberVisitor, MemberVisitor, AttributeVisitor) - Method in class proguard.KeepClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes, class members and code attributes.
- createClassPoolVisitor(KeepClassSpecification, ClassVisitor, MemberVisitor, MemberVisitor, AttributeVisitor) - Method in class proguard.KeepClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor to efficiently travel to the specified
classes, class members, and attributes.
- createClassTester(ClassSpecification, ClassPoolVisitor, List) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor that conditionally applies the given
ClassPoolVisitor for all classes that match the given class
specification.
- createClassTester(ClassSpecification, ClassVisitor, List) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassPoolVisitor that conditionally applies the given
ClassVisitor to all classes that match the given class specification.
- createCombinedClassVisitor(List, List, List, ClassVisitor, MemberVisitor, MemberVisitor, AttributeVisitor, List) - Method in class proguard.ClassSpecificationVisitorFactory
-
Constructs a ClassVisitor to efficiently delegate to the given ClassVisitor
and travel to the specified class members and attributes.
- createDataEntryReader(String, ClassPathEntry, DataEntryReader) - Static method in class proguard.DataEntryReaderFactory
-
Creates a DataEntryReader that can read the given class path entry.
- createDataEntryWriter(ClassPath, int, int) - Method in class proguard.DataEntryWriterFactory
-
Creates a DataEntryWriter that can write to the given class path entries.
- get(int) - Method in class proguard.ClassPath
-
- getAarFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to aar files in this entry, if any.
- GetAnnotationChecker - Class in proguard
-
This constant visitor checks whether visited method references try to
access annotations.
- GetAnnotationChecker(WarningPrinter) - Constructor for class proguard.GetAnnotationChecker
-
Creates a new GetAnnotationChecker.
- getApkFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to apk files in this entry, if any.
- getBaseDir() - Method in class proguard.WordReader
-
Returns the base directory of this reader, if any.
- getBaseURL() - Method in class proguard.WordReader
-
Returns the base URL of this reader, if any.
- getEarFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to ear files in this entry, if any.
- GetEnclosingClassChecker - Class in proguard
-
This constant visitor checks whether visited method references try to
access enclosing classes.
- GetEnclosingClassChecker(WarningPrinter) - Constructor for class proguard.GetEnclosingClassChecker
-
Creates a new GetEnclosingMethodChecker.
- GetEnclosingMethodChecker - Class in proguard
-
This constant visitor checks whether visited method references try to
access enclosing methods.
- GetEnclosingMethodChecker(WarningPrinter) - Constructor for class proguard.GetEnclosingMethodChecker
-
Creates a new GetEnclosingMethodChecker.
- getFile() - Method in class proguard.ClassPathEntry
-
Returns the file.
- getFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to bottom-level files in this entry.
- getJarFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to jar files in this entry, if any.
- getJmodFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to jmod files in this entry, if any.
- getName() - Method in class proguard.ClassPathEntry
-
Returns the path name of the entry.
- GetSignatureChecker - Class in proguard
-
This constant visitor checks whether visited method references try to
access signatures.
- GetSignatureChecker(WarningPrinter) - Constructor for class proguard.GetSignatureChecker
-
Creates a new GetSignatureChecker.
- getWarFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to war files in this entry, if any.
- getZipFilter() - Method in class proguard.ClassPathEntry
-
Returns the name filter that is applied to zip files in this entry, if any.
- GPL - Class in proguard
-
This class checks and prints out information about the GPL.
- GPL() - Constructor for class proguard.GPL
-
- ignoreWarnings - Variable in class proguard.Configuration
-
Specifies whether to ignore any warnings.
- includeWordReader(WordReader) - Method in class proguard.WordReader
-
Specifies to start reading words from the given WordReader.
- Initializer - Class in proguard
-
This class initializes class pools and resource information.
- Initializer(Configuration) - Constructor for class proguard.Initializer
-
Creates a new Initializer to initialize classes according to the given
configuration.
- InputReader - Class in proguard
-
This class reads the input class files.
- InputReader(Configuration) - Constructor for class proguard.InputReader
-
Creates a new InputReader to read input class files as specified by the
given configuration.
- isAar() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is an aar file.
- isApk() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is an apk file.
- isDex() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a dex file.
- isEar() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a ear file.
- isEmpty() - Method in class proguard.ClassPath
-
- isFiltered() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry has any kind of filter.
- isJar() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a jar file.
- isJmod() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a jmod file.
- isOutput() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is an output entry.
- isWar() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a war file.
- isZip() - Method in class proguard.ClassPathEntry
-
Returns whether this data entry is a zip file.
- packageObfuscationDictionary - Variable in class proguard.Configuration
-
An optional name of a file containing obfuscated package names.
- parse(Configuration) - Method in class proguard.ConfigurationParser
-
Parses and returns the configuration.
- parseClassSpecificationArguments() - Method in class proguard.ConfigurationParser
-
Parses and returns a class specification.
- ParseException - Exception in proguard
-
This Exception signals that a parse exception of some
sort has occurred.
- ParseException() - Constructor for exception proguard.ParseException
-
Constructs a ParseException with null
as its error detail message.
- ParseException(String) - Constructor for exception proguard.ParseException
-
Constructs a ParseException with the specified detail
message.
- preverify - Variable in class proguard.Configuration
-
Specifies whether the code should be preverified.
- printConfiguration - Variable in class proguard.Configuration
-
An optional output file for printing out the configuration that ProGuard
is using (with included files and replaced variables).
- printMapping - Variable in class proguard.Configuration
-
An optional output file for listing the obfuscation mapping.
- printSeeds - Variable in class proguard.Configuration
-
An optional output file for listing the kept seeds.
- printUsage - Variable in class proguard.Configuration
-
An optional output file for listing the unused classes and class
members.
- programJars - Variable in class proguard.Configuration
-
A list of input and output entries (jars, wars, ears, jmods, zips, and directories).
- proguard - package proguard
-
This package contains the main ProGuard application.
- ProGuard - Class in proguard
-
Tool for shrinking, optimizing, obfuscating, and preverifying Java classes.
- ProGuard(Configuration) - Constructor for class proguard.ProGuard
-
Creates a new ProGuard object to process jars as specified by the given
configuration.
- SeedPrinter - Class in proguard
-
This class prints out the seeds specified by keep options.
- SeedPrinter(PrintWriter) - Constructor for class proguard.SeedPrinter
-
Creates a new ConfigurationWriter that prints to the given writer.
- setAarFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to aar files in this entry, if any.
- setApkFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to apk files in this entry, if any.
- setBaseDir(File) - Method in class proguard.WordReader
-
Sets the base directory of this reader.
- setEarFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to ear files in this entry, if any.
- setFile(File) - Method in class proguard.ClassPathEntry
-
Sets the file.
- setFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to bottom-level files in this entry.
- setJarFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to jar files in this entry, if any.
- setJmodFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to jmod files in this entry, if any.
- setOutput(boolean) - Method in class proguard.ClassPathEntry
-
Specifies whether this data entry is an output entry.
- setWarFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to war files in this entry, if any.
- setZipFilter(List) - Method in class proguard.ClassPathEntry
-
Sets the name filter that is applied to zip files in this entry, if any.
- shrink - Variable in class proguard.Configuration
-
Specifies whether the code should be shrunk.
- size() - Method in class proguard.ClassPath
-
- skipNonPublicLibraryClasses - Variable in class proguard.Configuration
-
Specifies whether to skip non-public library classes while reading
library jars.
- skipNonPublicLibraryClassMembers - Variable in class proguard.Configuration
-
Specifies whether to skip non-public library class members while reading
library classes.
- STD_OUT - Static variable in class proguard.Configuration
-