summaryrefslogtreecommitdiffstats
path: root/t/t4018/java-method-return-generic-wildcard
blob: 96e9e5f2c14e35ad9ca32ce2495debd2a875ebe3 (plain)
1
2
3
4
5
6
7
8
9
class MyExample {
    public List<? extends Comparable> foo(String[] RIGHT) {
        someMethodCall();
        someOtherMethod()
            .doThat();
        // Whatever...
        return Arrays.asList("ChangeMe");
    }
}