Debian Codegraph @

javaparser-symbol-solver-testing/src/test/resources/AccessThroughSuper.java.txt

raw
1 class AccessThroughSuper {
2
3 class SuperClass {
4
5 protected String field;
6
7 protected String method() {
8 return field;
9 }
10
11 }
12
13 class SubClass extends SuperClass {
14
15 protected String fieldTest() {
16 return super.field;
17 }
18
19 protected String methodTest() {
20 return super.method();
21 }
22
23 }
24
25 }