webkit-codegen/src/main/java/androidx/webkit/internal/codegen/TypeConversionUtils.java
private static TypeName typeSpecFromString(String type) {
        switch (type) {
            case "void": return TypeName.VOID;
            case "boolean": return TypeName.BOOLEAN;
            case "byte": return TypeName.BYTE;
            case "short": return TypeName.SHORT;
            case "int": return TypeName.INT;
            case "long": return TypeName.LONG;
            case "char": return TypeName.CHAR;
            case "float": return TypeName.FLOAT;
            case "double": return TypeName.DOUBLE;
            default: return ClassName.bestGuess(type);
        }
    }
/**
     * Return the corresponding TypeName for the String {@param type}.
     */
Return the corresponding TypeName for the String  type.
Return the corresponding TypeName for the String type .
private static TypeName typeSpecFromString(String type) {
        switch (type) {
            case "void": return TypeName.VOID;
            case "boolean": return TypeName.BOOLEAN;
            case "byte": return TypeName.BYTE;
            case "short": return TypeName.SHORT;
            case "int": return TypeName.INT;
            case "long": return TypeName.LONG;
            case "char": return TypeName.CHAR;
            case "float": return TypeName.FLOAT;
            case "double": return TypeName.DOUBLE;
            default: return ClassName.bestGuess(type);
        }
    }
private static TypeName typeSpecFromString ( String type ) { switch ( type ) { case "void" : return TypeName . VOID ; case "boolean" : return TypeName . BOOLEAN ; case "byte" : return TypeName . BYTE ; case "short" : return TypeName . SHORT ; case "int" : return TypeName . INT ; case "long" : return TypeName . LONG ; case "char" : return TypeName . CHAR ; case "float" : return TypeName . FLOAT ; case "double" : return TypeName . DOUBLE ; default : return ClassName . bestGuess ( type ) ; } }
Return the corresponding TypeName for the String {@param type}.
Return the corresponding TypeName for the String { @param type } .