void (Main m, List<DiagramNode<?>> nodes) { final Object data = m.get(nodes, new A()); final <error descr="Incompatible types. Found: 'java.util.List<DiagramNode<?>>', required: 'java.util.List<DiagramNode>'">List<DiagramNode> n = nodes;</error> }