public String getGetterName ( String propertyName , JType type , JsonNode node ) { propertyName = getPropertyNameForAccessor ( propertyName , node ) ; String prefix = type . equals ( type . owner ( ) . _ref ( boolean . class ) ) ? "is" : "get" ; String getterName ; if ( propertyName . length ( ) > 1 && Character . isUpperCase ( propertyName . charAt ( 1 ) ) ) { getterName = prefix + propertyName ; } else { getterName = prefix + capitalize ( propertyName ) ; } if ( getterName . equals ( "getClass" ) ) { getterName = "getClass_" ; } return getterName ; }
Generate getter method name for property .