Debian Codegraph @

javaparser-symbol-solver-testing/src/test/resources/GenericArrayMethodArgument.java.txt

raw
1 class GenericArrayMethodArgument {
2
3 static class Foo<T> {
4 public void foo(T[] array) {}
5 }
6
7 public void bar() {
8 Foo<String> foo = new Foo<>();
9 foo.foo(new String[1]);
10 }
11
12 }