git/t/t4018/java-method-return-generic-bounded

class MyExample {
    public <T extends Bar & Foo<T>, R> Map<T, R[]> foo(String[] RIGHT) {
        someMethodCall();
        someOtherMethod()
            .doThat();
        // Whatever...
        return (List<T>) Arrays.asList("ChangeMe");
    }
}