MCPcopy Create free account
hub / github.com/antlr/codebuff / of

Method of

output/java_guava/1.4.18/TypeToken.java:161–163  ·  view source on GitHub ↗

Returns an instance of type token that wraps type.

(Class<T> type)

Source from the content-addressed store, hash-verified

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

Callers 15

getOwnerTypeMethod · 0.95
getInstanceMethod · 0.95
putInstanceMethod · 0.95
TypeTokenMethod · 0.95
whereMethod · 0.95
resolveTypeMethod · 0.95
boundAsSuperclassMethod · 0.95
boundsAsInterfacesMethod · 0.95
getSubtypeMethod · 0.95
isSupertypeOfMethod · 0.95
isSubtypeOfMethod · 0.95
wrapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected