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