Package proguard.util
Class NotStringFunction
java.lang.Object
proguard.util.NotStringFunction
- All Implemented Interfaces:
StringFunction
This
StringFunction returns the original string if the given StringFunction
returns null, or null otherwise.-
Field Summary
Fields inherited from interface proguard.util.StringFunction
IDENTITY_FUNCTION -
Constructor Summary
ConstructorsConstructorDescriptionNotStringFunction(StringFunction stringFunction) Creates a new NotStringFunction with the two given string functions. -
Method Summary
-
Constructor Details
-
NotStringFunction
Creates a new NotStringFunction with the two given string functions.
-
-
Method Details
-
transform
Description copied from interface:StringFunctionTransforms the given string into a new string.- Specified by:
transformin interfaceStringFunction
-