public static TypeAdapterFactory b(TypeToken<?> paramTypeToken, Object paramObject) { if (paramTypeToken.getType() == paramTypeToken.getRawType()) {} for (boolean bool = true;; bool = false) { return new er.a(paramObject, paramTypeToken, bool, null, (byte)0); } }
public final <T> TypeAdapter<T> create(Gson paramGson, TypeToken<T> paramTypeToken) { boolean bool; if (a != null) { if ((a.equals(paramTypeToken)) || ((b) && (a.getType() == paramTypeToken.getRawType()))) { bool = true; } } while (bool) { return new er(d, e, paramGson, paramTypeToken, this, (byte)0); bool = false; continue; bool = c.isAssignableFrom(paramTypeToken.getRawType()); } return null; }
public void testClassWrapper() { TypeToken<String> typeExpression = TypeToken.of(String.class); assertEquals(String.class, typeExpression.getType()); assertEquals(String.class, typeExpression.getRawType()); }