public void resolveBuilderType() {
        if (getBuilderTypeStyle() == null) {
            setBuilderTypeStyle("");
        }
        final String fieldType = getFieldType();
        String generics = "";
        if (fieldType.contains("<")) {
            generics = fieldType.substring(fieldType.indexOf('<'));
        }
        if (getBuilderTypeStyle().equals("smart")) {
            setBuilderType(fieldType);
        } else if (getBuilderTypeStyle().length() > 0) {
            if (getBuilderTypeStyle().contains("<>")) {
                setBuilderType(getBuilderTypeStyle().replace("<>", generics));
            } else if (getBuilderTypeStyle().contains("<")) {
                setBuilderType(getBuilderTypeStyle());
            } else {
                setBuilderType(getBuilderTypeStyle() + generics);
            }
        } else {
            setBuilderType(fieldType);
        }
    }
public void resolveBuilderType ( ) { if ( getBuilderTypeStyle ( ) == null ) { setBuilderTypeStyle ( "" ) ; } final String fieldType = getFieldType ( ) ; String generics = "" ; if ( fieldType . contains ( "<" ) ) { generics = fieldType . substring ( fieldType . indexOf ( '<' ) ) ; } if ( getBuilderTypeStyle ( ) . equals ( "smart" ) ) { setBuilderType ( fieldType ) ; } else if ( getBuilderTypeStyle ( ) . length ( ) > 0 ) { if ( getBuilderTypeStyle ( ) . contains ( "<>" ) ) { setBuilderType ( getBuilderTypeStyle ( ) . replace ( "<>" , generics ) ) ; } else if ( getBuilderTypeStyle ( ) . contains ( "<" ) ) { setBuilderType ( getBuilderTypeStyle ( ) ) ; } else { setBuilderType ( getBuilderTypeStyle ( ) + generics ) ; } } else { setBuilderType ( fieldType ) ; } }
Resolves the field builder type.