public static String getWriteMethodName(Field field, String prefix) {
    return prefix == null ? field.getName() : (prefix + getCapitalizedName(field.getName()));

  }
public static String getWriteMethodName ( Field field , String prefix ) { return prefix == null ? field . getName ( ) : ( prefix + getCapitalizedName ( field . getName ( ) ) ) ; }
Returns the name of the method that can be used to write (or set) the given field.

@param field
the name of the field
@param prefix
the prefix for the write method (e.g. set, with, etc.).
@return the name of the write method.