MCPcopy Index your code
hub / github.com/beanshell/beanshell / main

Method main

tests/src/Inherit.java:10–84  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

8public class Inherit {
9
10 public static void main(String[] args) {
11 A wa;
12 B wb;
13 A xa;
14 B xb;
15 X x;
16 A ya;
17 B yb;
18 C yc;
19 Y y;
20 A za;
21 B zb;
22 C zc;
23
24 wa = Accessor.getWbyA();
25 wb = Accessor.getWbyB();
26
27 xa = Accessor.getXbyA();
28 xb = Accessor.getXbyB();
29 x = Accessor.getX();
30
31 ya = Accessor.getYbyA();
32 yb = Accessor.getYbyB();
33 yc = Accessor.getYbyC();
34 y = Accessor.getY();
35
36 za = Accessor.getZbyA();
37 zb = Accessor.getZbyB();
38 zc = Accessor.getZbyC();
39
40 wa.a();
41
42 wb.a();
43 wb.b();
44
45 // Can't access W (package scope), doesn't work with Reflection either.
46 //((W)wa).w();
47
48 xa.a();
49
50 xb.a();
51 xb.b();
52
53 x.a();
54 x.b();
55 x.x();
56
57 ya.a();
58
59 yb.a();
60 yb.b();
61
62 yc.a();
63 yc.c();
64
65 y.a();
66 y.b();
67 y.c();

Callers

nothing calls this directly

Calls 15

getWbyAMethod · 0.95
getWbyBMethod · 0.95
getXbyAMethod · 0.95
getXbyBMethod · 0.95
getXMethod · 0.95
getYbyAMethod · 0.95
getYbyBMethod · 0.95
getYbyCMethod · 0.95
getYMethod · 0.95
getZbyAMethod · 0.95
getZbyBMethod · 0.95
getZbyCMethod · 0.95

Tested by

no test coverage detected