Here you can find the source of resolvePrimitiveClassName(String name)
public static Class<?> resolvePrimitiveClassName(String name)
//package com.java2s; //License from project: Apache License import java.util.HashMap; import java.util.Map; public class Main { private static final Map<String, Class<?>> primitiveTypeNameMap = new HashMap(32); public static Class<?> resolvePrimitiveClassName(String name) { Class result = null;/*from w w w . j a v a 2 s. c om*/ if (name != null && name.length() <= 8) { result = primitiveTypeNameMap.get(name); } return result; } }