(Interface i, int n)
| 8 | } |
| 9 | |
| 10 | private static int staticMethod(Interface i, int n) { |
| 11 | if (n < Limit) { |
| 12 | return i.interfaceMethod(n + 1); |
| 13 | } else { |
| 14 | return leafMethod(n); |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | private static int leafMethod(int n) { |
| 19 | expect(new Throwable().getStackTrace().length == 2); |
no test coverage detected