Main.java:12: error: method use2 in class Test cannot be applied to given types;
use2(c.provide().apply(c));
^
required: W
found: CAP#1
reason: inference variable W has incompatible bounds
equality constraints: CAP#1
lower bounds: MapperProvider<CAP#1>
where W is a type-variable:
W extends MapperProvider<W> declared in method <W>use2(W)
where CAP#1 is a fresh type-variable:
CAP#1 extends MapperProvider<CAP#1> from capture of ?
1 error