public static JavaDataType fromString(String type) {
        switch (type) {
            case "String":
                return STRING;
            case "Integer":
                return INTEGER;
            case "Boolean":
                return BOOLEAN;
            case "Double":
                return DOUBLE;
            case "Float":
                return FLOAT;
            case "Long":
                return LONG;
        }
        return null;
    }