code: public static JKType getType(Class<?> clas) {
  		if (clas.isPrimitive()) {
  			clas = JK.getWrapperForPrimitive(clas);
  		}
  		List<Integer> list = javaToCodeMapping.get(clas);
  		if (list != null && list.size() > 0) {
  			return getType(list.get(0));
  		}
  		logger.debug("No mapping found for datatype , default mapping will return " + clas.getSimpleName());
  		return DEFAULT_MAPPING;
  
  	}
docs: Gets the type.
  
  @param clas the clas
  @return the type