Here you can find the source of getPrimitiveType(String javaClassName)
public static Class<?> getPrimitiveType(String javaClassName)
//package com.java2s; //License from project: Open Source License import java.util.Map; public class Main { private static Map<String, Class<?>> javaPrimitiveToType; public static Class<?> getPrimitiveType(String javaClassName) { return javaPrimitiveToType.get(javaClassName); }//w ww .j a v a2 s.c om }