(D genericDeclaration, String name, Type[] bounds)
| 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. |
no test coverage detected