miha-x64
11/20/2017, 4:38 PMclass Wrapper<A, B extends Something<A>> {
void inPosition(B b) {}
B outPosition() { throw null; }
}
interface Something<A> {}
class ConcreteSomething<A> implements Something<A> {}
class UseCase {
Wrapper<?, ? extends ConcreteSomething<?>> w = new Wrapper<String, ConcreteSomething<String>>();
// ^ olny this way
}