private static String getEnglishTypeName()

in spring-ai-alibaba-graph/spring-ai-alibaba-graph-example/src/main/java/com/alibaba/cloud/ai/example/graph/bigtool/utils/MethodUtils.java [200:228]


	private static String getEnglishTypeName(Class<?> type) {
		if (type == double.class || type == Double.class) {
			return "double precision floating point";
		}
		else if (type == float.class || type == Float.class) {
			return "single precision floating point";
		}
		else if (type == int.class || type == Integer.class) {
			return "integer";
		}
		else if (type == long.class || type == Long.class) {
			return "long integer";
		}
		else if (type == boolean.class || type == Boolean.class) {
			return "boolean";
		}
		else if (type == char.class || type == Character.class) {
			return "character";
		}
		else if (type == byte.class || type == Byte.class) {
			return "byte";
		}
		else if (type == short.class || type == Short.class) {
			return "short integer";
		}
		else {
			return type.getSimpleName();
		}
	}