|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.octagroup.foregej.java.tools.BeansUtil
Class that contains functionality associated with the beans specification.
Constructor Summary | |
BeansUtil()
|
Method Summary | |
static AST_METHOD_DEF |
getter2Setter(AST_METHOD_DEF getter)
Performs a deep copy of the getter and converts it to a setter. |
static java.lang.String |
property2Method(java.lang.String property)
Converts a property name to a method name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BeansUtil()
Method Detail |
public static AST_METHOD_DEF getter2Setter(AST_METHOD_DEF getter)
Since we perform a deep copy the body of the getter will also be copied.
getter
- public static java.lang.String property2Method(java.lang.String property)
Usually this involves converting the first character to upper case.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |