org.objectweb.fractal.aokell.lib.interf
Class FcItfImplHelper
java.lang.Object
org.objectweb.fractal.aokell.lib.interf.FcItfImplHelper
public class FcItfImplHelper
- extends Object
This class contains utility methods related to the management of classes
implementing Fractal interfaces.
- Author:
- Lionel Seinturier
Method Summary |
static String |
getFieldNameFromSetter(String setter)
Return the Java Bean compliant field name associated to a given setter
method name. |
static String |
getGenPkgName(String pkgName)
Compute the name of the package which will hold the class implementing
the Fractal interface whose signature is given as a parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FcItfImplHelper
public FcItfImplHelper()
getGenPkgName
public static String getGenPkgName(String pkgName)
- Compute the name of the package which will hold the class implementing
the Fractal interface whose signature is given as a parameter.
getFieldNameFromSetter
public static String getFieldNameFromSetter(String setter)
- Return the Java Bean compliant field name associated to a given setter
method name. E.g. getFieldNameFromSetter("setFooBar") returns "fooBar".