import java.util.*;

enum En {
  A(new Y<>((<warning descr="Casting 'new ArrayList<>()' to 'List' is redundant">List</warning>) new ArrayList<>()));

  En(Y<List<Object>> list) {
  }
}

class Y<I> {
  public Y(I e) {
  }
}
@@ -41,90 +41,12 @@
 %3C%3E((
-%3Cwarning descr=%22Casting 'new ArrayList%3C%3E()' to 'List' is redundant%22%3EList%3C/warning%3E
+List
 ) ne

update testdata