Code example for TypeToken

Methods: getRawTypegetType

0
   * @param <T> the type of object to construct from the request body 
   * @return an instance of {@code T} if this parser can construct this type, otherwise {@code null} 
   * @throws Exception any exception thrown while parsing 
   */ 
  abstract protected <T> T parse(Context context, TypedData requestBody, TypeToken<T> type) throws Exception; 
 
} 
Connect your IDE to all the code out there  Get Codota for Java