code: public static boolean isWrapper(Class<?> type) {
  
          if (Boolean.class == type) {
              return true;
          } 
          if (Byte.class == type) {
              return true;
          } 
          if (Character.class == type) {
              return true;
          } 
          if (Short.class == type) {
              return true;
          } 
          if (Integer.class == type) {
              return true;
          } 
          if (Long.class == type) {
              return true;
          }
          if (Float.class == type) {
              return true;
          } 
          if (Double.class == type) {
              return true;
          }
          return false;
      }
docs: Indicate if the class is a known primitive wrapper type
  @param type Class to test
  @return True if the type is a primitive wrapper type