| 30 | } |
| 31 | |
| 32 | static class C implements I { |
| 33 | public void foo() { |
| 34 | } |
| 35 | |
| 36 | C() { |
| 37 | } |
| 38 | |
| 39 | C(int n) { |
| 40 | } |
| 41 | |
| 42 | C addOne(int x) { |
| 43 | Supplier<C> addOne = () -> new C(x + one()); |
| 44 | return addOne.get(); |
| 45 | } |
| 46 | |
| 47 | int one() { |
| 48 | return 1; |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | static abstract class A { |
| 53 | void bar() { |
nothing calls this directly
no outgoing calls
no test coverage detected