static final String fieldNameOf ( Method getter ) { final String name = getter . getName ( ) . replaceFirst ( "^(get|is)" , "" ) ; return StringUtils . lowerCase ( name . substring ( 0 , 1 ) ) + name . substring ( 1 ) ; }
Gets the field name given the getter method .