MCPcopy Index your code
hub / github.com/BruceEckel/OnJava8-Examples / C

Class C

reflection/packageaccess/HiddenC.java:8–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6import reflection.interfacea.*;
7
8class C implements A {
9 @Override public void f() {
10 System.out.println("public C.f()");
11 }
12 public void g() {
13 System.out.println("public C.g()");
14 }
15 void u() {
16 System.out.println("package C.u()");
17 }
18 protected void v() {
19 System.out.println("protected C.v()");
20 }
21 private void w() {
22 System.out.println("private C.w()");
23 }
24}
25
26public class HiddenC {
27 public static A makeA() { return new C(); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected