public class ClassPoolFeatureNameFunction extends java.lang.Object implements StringFunction
IDENTITY_FUNCTION
Constructor and Description |
---|
ClassPoolFeatureNameFunction(ClassPool classPool)
Creates a new ClassPoolNameFunction based on the given class pool.
|
ClassPoolFeatureNameFunction(ClassPool classPool,
java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
transform(java.lang.String string)
Transforms the given string into a new string.
|
public ClassPoolFeatureNameFunction(ClassPool classPool)
public ClassPoolFeatureNameFunction(ClassPool classPool, java.lang.String defaultFeatureName)
public java.lang.String transform(java.lang.String string)
StringFunction
transform
in interface StringFunction