@SuppressWarnings("nullness") // Don't want to depend on @Nullable class GenericTest12b { class Cell {} class Node { public Node(Cell userObject) {} void nodecall(Cell userObject) {} } class RootNode extends Node { public RootNode() { super(new Cell()); call(new Cell()); nodecall(new Cell()); } void call(Cell userObject) {} } }