@Test public void getWrapperTypeIfPrimitiveByte2dArray() { assertEquals(byte[][].class, ClassUtil.getWrapperTypeIfPrimitive(byte[][].class)); }
public static <T> Class<T> getWrapperTypeIfPrimitive(Class<T> type) { if (type == null) { return null; } if (type.isPrimitive()) { return ((PrimitiveInfo<T>) PRIMITIVES.get(type.getName())).wrapperType; } return type; }
ClassUtil { public static <T> Class<T> getWrapperTypeIfPrimitive(Class<T> type) { if (type == null) { return null; } if (type.isPrimitive()) { return ((PrimitiveInfo<T>) PRIMITIVES.get(type.getName())).wrapperType; } return type; } }
ClassUtil { public static <T> Class<T> getWrapperTypeIfPrimitive(Class<T> type) { if (type == null) { return null; } if (type.isPrimitive()) { return ((PrimitiveInfo<T>) PRIMITIVES.get(type.getName())).wrapperType; } return type; }  }
ClassUtil { public static <T> Class<T> getWrapperTypeIfPrimitive(Class<T> type) { if (type == null) { return null; } if (type.isPrimitive()) { return ((PrimitiveInfo<T>) PRIMITIVES.get(type.getName())).wrapperType; } return type; }  static T newInstance(Class<T> clazz); static Class<T> getWrapperTypeIfPrimitive(Class<T> type); }
ClassUtil { public static <T> Class<T> getWrapperTypeIfPrimitive(Class<T> type) { if (type == null) { return null; } if (type.isPrimitive()) { return ((PrimitiveInfo<T>) PRIMITIVES.get(type.getName())).wrapperType; } return type; }  static T newInstance(Class<T> clazz); static Class<T> getWrapperTypeIfPrimitive(Class<T> type);  }