blob: 7fd8992182f3a884edee97d1a103858649b0d5c0 [file] [log] [blame]
@SuppressWarnings("nullness") // Don't want to depend on @Nullable
public class GenericTest12b {
class Cell<T1 extends Object> {}
class Node<CONTENT extends Object> {
public Node(Cell<CONTENT> userObject) {}
void nodecall(Cell<CONTENT> userObject) {}
}
class RootNode extends Node<Void> {
public RootNode() {
super(new Cell<Void>());
call(new Cell<Void>());
nodecall(new Cell<Void>());
}
void call(Cell<Void> userObject) {}
}
}