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

Method of

output/java_guava/1.4.19/TypeToken.java:160–162  ·  view source on GitHub ↗

Returns an instance of type token that wraps type.

(Class<T> type)

Source from the content-addressed store, hash-verified

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

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