Returns a new TypeVariable that belongs to declaration with name and bounds.
(D declaration, String name, Type... bounds)
| 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 |
no test coverage detected