| 6 | import reflection.interfacea.*; |
| 7 | |
| 8 | class AnonymousA { |
| 9 | public static A makeA() { |
| 10 | return new A() { |
| 11 | @Override public void f() { |
| 12 | System.out.println("public C.f()"); |
| 13 | } |
| 14 | public void g() { |
| 15 | System.out.println("public C.g()"); |
| 16 | } |
| 17 | void u() { |
| 18 | System.out.println("package C.u()"); |
| 19 | } |
| 20 | protected void v() { |
| 21 | System.out.println("protected C.v()"); |
| 22 | } |
| 23 | private void w() { |
| 24 | System.out.println("private C.w()"); |
| 25 | } |
| 26 | }; |
| 27 | } |
| 28 | } |
| 29 | |
| 30 | public class AnonymousImplementation { |
| 31 | public static void |
nothing calls this directly
no outgoing calls
no test coverage detected