public static Class checkForPrimType(String className){
  return (Class)primTypes.get(className);
}

public static Class checkForPrimType ( String className ) { return ( Class ) primTypes . get ( className ) ; }
if the argument classname is the name of a primitive type ( including " void " ) , return the primitive type class ( ex , boolean . class ) . otherwise , return null .
