static class Foo { public List> list0() { return new ArrayList>(); } } incompatible types: required: List> found: ArrayList>