code: public static boolean isPrimitiveType(Type type) {
  	String className = type.getClassName();
  	if (className.indexOf('.') != -1) return false;
  
  	if ("boolean".equals(className)) return true;
  	if ("short".equals(className)) return true;
  	if ("float".equals(className)) return true;
  	if ("long".equals(className)) return true;
  	if ("double".equals(className)) return true;
  	if ("char".equals(className)) return true;
  	if ("int".equals(className)) return true;
  	if ("byte".equals(className)) return true;
  
  	return false;
      }
docs: returns if given type is a "primitve" type or in other words a value type (no reference type, no
  object)
  
  @param type
  @return