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

Method newTypeVariableImpl

output/java_guava/1.4.17/Types.java:335–340  ·  view source on GitHub ↗
(D genericDeclaration, String name, Type[] bounds)

Source from the content-addressed store, hash-verified

333 }
334
335 private static <D extends GenericDeclaration> TypeVariable<D> newTypeVariableImpl(D genericDeclaration, String name, Type[] bounds) {
336 TypeVariableImpl<D> typeVariableImpl = new TypeVariableImpl<D>(genericDeclaration, name, bounds);
337 @SuppressWarnings("unchecked")
338 TypeVariable<D> typeVariable = Reflection.newProxy(TypeVariable.class, new TypeVariableInvocationHandler(typeVariableImpl));
339 return typeVariable;
340 }
341
342 /**
343 * Invocation handler to work around a compatibility problem between Java 7 and Java 8.

Callers 1

Calls 1

newProxyMethod · 0.95

Tested by

no test coverage detected