import java.util.List; public abstract class SuperA { public abstract SuperB getSomeB(SuperB b); }