retrieve the setter name from the field name . implementation is based on the code of java.beans.introspector . concode_field_sep boolean reportNoSetterFound concode_elem_sep Field field concode_elem_sep String SET_PREFIX concode_elem_sep Object target concode_field_sep void reportNoSetterFound concode_elem_sep boolean set
String function ( String arg0 ) { return new StringBuilder ( SET_PREFIX ) . append ( arg0 . substring ( 0 , 1 ) . toUpperCase ( Locale . ENGLISH ) ) . append ( arg0 . substring ( 1 ) ) . toString ( ) ; }