Package proguard.util
package proguard.util
-
ClassDescriptionThis
StringMatchertests whether strings match both givenStringMatcherinstances.ThisStringFunctiontests whether the first givenStringFunctionreturns null, returning the result of the latter function if so, or null otherwise.ThisStringFunctiontests whether the first givenStringFunctionreturns not null, returning the result of the latter function if so, or null otherwise.This class contains utility methods operating on arrays.Utility class for Base64 encoding.Basic implementation ofHierarchyProvider, walking the class pools every time the sub-classes of a class are needed.Generic utilities to traverse the call graph.A circular buffer over the primitive integer type.ThisStringParsercan createStringMatcherinstances for regular expressions matching internal class names (or descriptors containing class names).This StringFunction transforms class names to feature names, based on a given class pool.This matcher tests whether strings match with a String in a given Set.ThisStringParsercan create aCollectionMatcherinstance for regular expressions.ThisStringFunctionreturns the concatenated transformed strings of two givenStringFunctioninstances.ThisStringMatchermatches any string or no string at all.ThisStringFunctionreturns a given constant string.This provides a counter that can be retrieved.ThisStringMatchertests whether strings are empty.ThisStringMatchertests whether strings end in a given extension, ignoring its case.Base interface for entities that are part of a feature, as indicated by a feature name.ThisStringParsercan createStringMatcherinstances for regular expressions matching file names.ThisStringFunctiondelegates a given String to one of two otherStringFunctioninstances, depending on whether it matches the given filter.ThisStringMatchertests whether strings start with a given fixed string and then match another optional givenStringMatcher.And interface to be implemented by classes that are able to provide information on the hierarchy of classes.ThisStringFunctionreturns unchanged String instances.ThisStringFunctionParsercan createStringFunctioninstances for regular expressions.ThisStringMatchertests whether strings match a given list ofStringMatcherinstances.ThisStringParsercan createStringMatcherinstances for regular expressions.This class provides some utility methods for working withjava.util.Listinstances.ThisStringFunctiongets its transformed strings from a given map.ThisStringFunctionreturns the most recently matched string of a givenVariableStringMatcher.ThisStringMatchertests whether strings start with a specified variable string and then match another optional givenStringMatcher.ThisStringFunctionreturns unchanged strings or null, depending on whether a given string matcher matches the strings.MultiValueMap<K,V> A key-values map that can have multiple values associated with each key.ThisStringParsercan createStringMatcherinstances for regular expressions matching names.ThisStringMatchertests whether strings does not match the givenStringMatcher.ThisStringFunctionreturns the original string if the givenStringFunctionreturns null, or null otherwise.Deprecated.This class should not be used anymore.ThisStringMatchertests whether strings matches at least one of the givenStringMatcherinstances.ThisStringFunctiontests whether strings match either givenStringFunctioninstances, returning the first non-null result.Helper functions to access PartialEvaluator results more conveniently.ThisStringFunctionadds a prefix in front of each transformed String.ThisStringFunctionremoves a given prefix from each transformed String, if present.Base interface for entities that need flags and/or additional information when they are processed, typically by visitor classes.This interface defines visitor methods for the main Processable implementations.This visitor clears the specified processing flags of theProcessableinstances that it visits.Constants used by ProGuard for marking entities (classes, class members, resource files, ...) during processing.This visitor sets the specified processing flags of theProcessableinstances that it visits.ThisStringMatcherdelegates to a anotherStringMatcherthat can be set after thisStringMatcherhas been constructed.ASimpleProcessablethat additionally implementsFeatureNamed.This class provides a straightforward implementation of the Processable interface.ThisStringFunctionParsercreatesStringFunctioninstances for regular expressions with optional "->" transformations.This interface provides a method to transform a string into a new string.This interface provides a method to create aStringFunctionfor a given regular expression.This abstract class provides methods to determine whether strings match a given criterion, which is specified by the implementation.This interface provides a method to create aStringMatcherfor a given regular expression.This class contains utility methods for strings.ThisStringFunctionadds a given suffix to each transformed String.ThisStringFunctionremoves a given suffix from each transformed String, if present.This StringMatcher delegates its tests to another given StringMatcher, with strings that have been transformed with a given function.ThisStringMatchertests whether strings start with a specified variable string and then match another optional givenStringMatcher.This utility class creates and managesStringMatcherinstances that (1) match wildcards, and (2) refer back to matched wildcards.