@Test public void testToWrapper() { assertEquals(TypeToken.of(Integer.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(int.class))); assertEquals(TypeToken.of(Boolean.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(boolean.class))); assertEquals(TypeToken.of(Float.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(float.class))); assertEquals(TypeToken.of(Long.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(long.class))); assertEquals(TypeToken.of(Short.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(short.class))); assertEquals(TypeToken.of(Byte.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(byte.class))); assertEquals(TypeToken.of(Double.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(double.class))); assertEquals(TypeToken.of(Character.class), PrimitiveTypeUtils.toWrapperTypeToken(TypeToken.of(char.class))); }
public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken) { return toWrapper((Class<?>) primitiveTypeToken.getType()); }
PrimitiveTypeUtils { public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken) { return toWrapper((Class<?>) primitiveTypeToken.getType()); } }
PrimitiveTypeUtils { public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken) { return toWrapper((Class<?>) primitiveTypeToken.getType()); }  }
PrimitiveTypeUtils { public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken) { return toWrapper((Class<?>) primitiveTypeToken.getType()); }  static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken); static TypeToken<?> toWrapperTypeToken(final TypeToken<?> primitiveTypeToken); static Class<?> toWrapper(final Class<?> primitiveType); static Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType); }
PrimitiveTypeUtils { public static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken) { return toWrapper((Class<?>) primitiveTypeToken.getType()); }  static Class<?> toWrapper(final TypeToken<?> primitiveTypeToken); static TypeToken<?> toWrapperTypeToken(final TypeToken<?> primitiveTypeToken); static Class<?> toWrapper(final Class<?> primitiveType); static Object toWrapperListToPrimitiveArray(final List wrapperList, Class<?> primitiveType);  }