| 1 |
abstract class Issue1587b { |
| 2 |
|
| 3 |
static class One implements Two<One, Three, Four, Four> {} |
| 4 |
|
| 5 |
interface Two< |
| 6 |
E extends Two<E, K, C, I>, K extends Five<K>, C extends Enum<C>, I extends Enum<I>> {} |
| 7 |
|
| 8 |
abstract static class Three implements Five<Three> {} |
| 9 |
|
| 10 |
enum Four {} |
| 11 |
|
| 12 |
interface Five<K extends Five<K>> extends Comparable<K> {} |
| 13 |
|
| 14 |
interface Six { |
| 15 |
<E extends Two<E, ?, ?, I>, I extends Enum<I>> Seven<?, E> e(Class<E> entity); |
| 16 |
} |
| 17 |
|
| 18 |
interface Seven<T extends Seven<T, E>, E extends Two<E, ?, ?, ?>> extends Eight<T, E, E> {} |
| 19 |
|
| 20 |
interface Eight<T extends Eight<T, R, E>, R, E extends Two<E, ?, ?, ?>> extends Nine<T, R> {} |
| 21 |
|
| 22 |
interface Nine<T extends Nine<T, R>, R> { |
| 23 |
T d(); |
| 24 |
|
| 25 |
Iterable<R> q(); |
| 26 |
} |
| 27 |
|
| 28 |
public Iterable<One> f(Six e) { |
| 29 |
return g(e.e(One.class).d().q()); |
| 30 |
} |
| 31 |
|
| 32 |
abstract Iterable<One> g(Iterable<One> r); |
| 33 |
} |