git
[Ported from github.com/git/git] Sync with Git 2.56.1
Brought by drakestapleton
git / t / t4018 / java-method-return-generic-bounded
| 1 | class MyExample { |
| 2 | public <T extends Bar & Foo<T>, R> Map<T, R[]> foo(String[] RIGHT) { |
| 3 | someMethodCall(); |
| 4 | someOtherMethod() |
| 5 | .doThat(); |
| 6 | // Whatever... |
| 7 | return (List<T>) Arrays.asList("ChangeMe"); |
| 8 | } |
| 9 | } |