Returns an instance of type token that wraps type.
(Class<T> type)
| 159 | |
| 160 | |
| 161 | public static <T> TypeToken<T> of(Class<T> type) { |
| 162 | return new SimpleTypeToken<T>(type); |
| 163 | } |
| 164 | |
| 165 | /** Returns an instance of type token that wraps {@code type}. */ |
| 166 |
no outgoing calls
no test coverage detected