Package proguard.util
Class ClassPoolFeatureNameFunction
java.lang.Object
proguard.util.ClassPoolFeatureNameFunction
- All Implemented Interfaces:
StringFunction
This StringFunction transforms class names to feature names, based on a given class pool.
-
Field Summary
Fields inherited from interface proguard.util.StringFunction
IDENTITY_FUNCTION -
Constructor Summary
ConstructorsConstructorDescriptionClassPoolFeatureNameFunction(ClassPool classPool) Creates a new ClassPoolNameFunction based on the given class pool.ClassPoolFeatureNameFunction(ClassPool classPool, String defaultFeatureName) Creates a new ClassPoolNameFunction based on the given class pool, with a default string for classes that are not in the class pool. -
Method Summary
-
Constructor Details
-
ClassPoolFeatureNameFunction
Creates a new ClassPoolNameFunction based on the given class pool. -
ClassPoolFeatureNameFunction
Creates a new ClassPoolNameFunction based on the given class pool, with a default string for classes that are not in the class pool.
-
-
Method Details
-
transform
Description copied from interface:StringFunctionTransforms the given string into a new string.- Specified by:
transformin interfaceStringFunction
-