예제 #1
0
 public static TypeAdapterFactory b(TypeToken typetoken, Object obj)
 {
     boolean flag;
     if (typetoken.getType() == typetoken.getRawType())
     {
         flag = true;
     } else
     {
         flag = false;
     }
     return new a(obj, typetoken, flag, null, (byte)0);
 }
예제 #2
0
 public final TypeAdapter create(Gson gson, TypeToken typetoken)
 {
     boolean flag;
     if (a != null)
     {
         if (a.equals(typetoken) || b && a.getType() == typetoken.getRawType())
         {
             flag = true;
         } else
         {
             flag = false;
         }
     } else
     {
         flag = c.isAssignableFrom(typetoken.getRawType());
     }
     if (flag)
     {
         return new n(d, e, gson, typetoken, this, (byte)0);
     } else
     {
         return null;
     }
 }