hollow/src/main/java/com/netflix/hollow/api/codegen/HollowCodeGenerationUtils.java
public static String normalizeFieldPathToParamName(String fieldPath) {
        String result = null;
        if (fieldPath.contains(".")) {
            String[] parts = fieldPath.split("\\.");
            StringBuilder sb = new StringBuilder();
            sb.append(lowercase(parts[0]));
            for (int i = 1; i < parts.length; i++) {
                sb.append(uppercase(parts[i]));
            }
            result = sb.toString();
        } else {
            result = lowercase(fieldPath);
        }

        if (result.endsWith("!")) {
            return result.substring(0, result.length() - 1);
        }
        return result;
    }
public static String normalizeFieldPathToParamName(String fieldPath) {
        String result = null;
        if (fieldPath.contains(".")) {
            String[] parts = fieldPath.split("\\.");
            StringBuilder sb = new StringBuilder();
            sb.append(lowercase(parts[0]));
            for (int i = 1; i < parts.length; i++) {
                sb.append(uppercase(parts[i]));
            }
            result = sb.toString();
        } else {
            result = lowercase(fieldPath);
        }

        if (result.endsWith("!")) {
            return result.substring(0, result.length() - 1);
        }
        return result;
    }
public static String normalizeFieldPathToParamName ( String fieldPath ) { String result = null ; if ( fieldPath . contains ( "." ) ) { String [ ] parts = fieldPath . split ( "\\." ) ; StringBuilder sb = new StringBuilder ( ) ; sb . append ( lowercase ( parts [ 0 ] ) ) ; for ( int i = 1 ; i < parts . length ; i ++ ) { sb . append ( uppercase ( parts [ i ] ) ) ; } result = sb . toString ( ) ; } else { result = lowercase ( fieldPath ) ; } if ( result . endsWith ( "!" ) ) { return result . substring ( 0 , result . length ( ) - 1 ) ; } return result ; }
Convert field path into Param name

Eg:
- Actor {@literal->} actor
- Actor.name {@literal->} actorName

@param fieldPath the field path
@return the param name
Convert field path into Param name