Gets type literal for the given Type instance.
(Type type)
| 296 | * Gets type literal for the given {@code Type} instance. |
| 297 | */ |
| 298 | public static TypeToken<?> get(Type type) { |
| 299 | return new TypeToken<Object>(type); |
| 300 | } |
| 301 | |
| 302 | /** |
| 303 | * Gets type literal for the given {@code Class} instance. |
no outgoing calls