question: private String makeGetterMethodName ( Field field ) { String getterMethodPrefix ; String fieldName = field . getName ( ) ; if ( isPrimitiveBooleanType ( field ) ) { if ( fieldName . matches ( "^is[A-Z]{1}.*$" ) ) { fieldName = fieldName . substring ( 2 ) ; } getterMethodPrefix = "is" ; } else { getterMethodPrefix = "get" ; } if ( fieldName . matches ( "^[a-z]{1}[A-Z]{1}.*" ) ) { return getterMethodPrefix + fieldName ; } else { return getterMethodPrefix + BaseUtility . capitalize ( fieldName ) ; } }
target:  Generate the getter method name by field, following the Android Studio rule.