public static String getFieldGetterName ( Field field ) { String getterName = GETTER_PREFIX + Formatter . toPascalCase ( field . getName ( ) ) ; if ( "getClass" . equals ( getterName ) ) { return getterName + "_" ; } return getterName ; }
Returns a java field getter name for proto field .