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

Method newArtificialTypeVariable

output/java_guava/1.4.17/Types.java:156–159  ·  view source on GitHub ↗

Returns a new TypeVariable that belongs to declaration with name and bounds.

(D declaration, String name, Type... bounds)

Source from the content-addressed store, hash-verified

154
155
156 static <D extends GenericDeclaration> TypeVariable<D> newArtificialTypeVariable(D declaration, String name, Type... bounds) {
157 return newTypeVariableImpl(declaration, name,
158 (bounds.length == 0) ? new Type[] {Object.class} : bounds);
159 }
160
161 /** Returns a new {@link WildcardType} with {@code upperBound}. */
162

Callers 3

resolveInternalMethod · 0.95
captureMethod · 0.95

Calls 1

newTypeVariableImplMethod · 0.95

Tested by

no test coverage detected