| 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.attribute.visitor |
This package contains visitors for attributes and their components.
|
| 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.util |
This package contains utility classes for regular expression matching,...
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClassPool.classesAccept(StringMatcher classNameFilter,
ClassVisitor classVisitor)
Applies the given ClassVisitor to all matching classes in the class pool.
|
| Constructor and Description |
|---|
AnnotationTypeFilter(StringMatcher regularExpressionMatcher,
AnnotationVisitor annotationVisitor)
Creates a new AnnotationTypeFilter.
|
| Constructor and Description |
|---|
AttributeNameFilter(StringMatcher regularExpressionMatcher,
AttributeVisitor attributeVisitor)
Creates a new AttributeNameFilter.
|
| Constructor and Description |
|---|
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.
|
| Constructor and Description |
|---|
ClassNameFilter(StringMatcher regularExpressionMatcher,
ClassVisitor classVisitor)
Creates a new ClassNameFilter.
|
MemberDescriptorFilter(StringMatcher regularExpressionMatcher,
MemberVisitor memberVisitor)
Creates a new MemberDescriptorFilter.
|
MemberNameFilter(StringMatcher regularExpressionMatcher,
MemberVisitor memberVisitor)
/**
Creates a new MemberNameFilter.
|
| Constructor and Description |
|---|
DataEntryNameFilter(StringMatcher stringMatcher)
Creates a new DataEntryNameFilter.
|
NameFilteredDataEntryWriter(StringMatcher stringMatcher,
DataEntryWriter acceptedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to the given
writer, depending on the given string matcher.
|
NameFilteredDataEntryWriter(StringMatcher stringMatcher,
DataEntryWriter acceptedDataEntryWriter,
DataEntryWriter rejectedDataEntryWriter)
Creates a new NameFilteredDataEntryWriter that delegates to either of
the two given writers, depending on the given string matcher.
|
RenamedParentDataEntryWriter(StringMatcher matcher,
String newParentName,
DataEntryWriter dataEntryWriter)
Creates a new RenamedParentDataEntryWriter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AndMatcher
This StringMatcher tests whether strings matches both given StringMatcher
instances.
|
class |
CollectionMatcher
This matcher tests whether strings match with a String in a given Set.
|
class |
ConstantMatcher
This StringMatcher matches any string or no string at all.
|
class |
EmptyStringMatcher
This StringMatcher tests whether strings are empty.
|
class |
ExtensionMatcher
This StringMatcher tests whether strings end in a given extension, ignoring
its case.
|
class |
FixedStringMatcher
This StringMatcher tests whether strings start with a given fixed string
and then match another optional given StringMatcher.
|
class |
ListMatcher
This StringMatcher tests whether strings match a given list of StringMatcher
instances.
|
class |
MatchedStringMatcher
This StringMatcher tests whether strings start with a specified variable
string and then match another optional given StringMatcher.
|
class |
NotMatcher
This StringMatcher tests whether strings does not match the given
StringMatcher.
|
class |
OrMatcher
This StringMatcher tests whether strings matches either of the given
StringMatcher instances.
|
class |
SettableMatcher
This StringMatcher delegates to a another StringMatcher that can be set
after this StringMatcher has been constructed.
|
class |
VariableStringMatcher
This StringMatcher tests whether strings start with a specified variable
string and then match another optional given StringMatcher.
|
| Modifier and Type | Method and Description |
|---|---|
StringMatcher |
ListParser.parse(List regularExpressions)
Creates a StringMatcher for the given regular expression, which can
be a list of optionally negated simple entries.
|
StringMatcher |
FileNameParser.parse(String regularExpression) |
StringMatcher |
StringParser.parse(String regularExpression)
Creates a StringMatcher for the given regular expression.
|
StringMatcher |
ClassNameParser.parse(String regularExpression) |
StringMatcher |
NameParser.parse(String regularExpression) |
StringMatcher |
ListParser.parse(String regularExpression) |
| Modifier and Type | Method and Description |
|---|---|
void |
SettableMatcher.setMatcher(StringMatcher matcher) |
| Constructor and Description |
|---|
AndMatcher(StringMatcher matcher1,
StringMatcher matcher2)
Creates a new AndMatcher with the two given string matchers.
|
FixedStringMatcher(String fixedString,
StringMatcher nextMatcher)
Creates a new FixedStringMatcher.
|
ListMatcher(StringMatcher... matchers) |
ListMatcher(StringMatcher[] matchers,
boolean[] negate) |
MatchedStringMatcher(VariableStringMatcher variableStringMatcher,
StringMatcher nextMatcher)
Creates a new MatchedStringMatcher
|
NotMatcher(StringMatcher matcher) |
OrMatcher(StringMatcher matcher1,
StringMatcher matcher2)
Creates a new OrMatcher with the two given string matchers.
|
VariableStringMatcher(char[] allowedCharacters,
char[] disallowedCharacters,
int minimumLength,
int maximumLength,
StringMatcher nextMatcher)
Creates a new VariableStringMatcher.
|
Copyright © 2019. All rights reserved.