01: package test.polymorphic;
02:
03: public class SubClass extends SuperClass {
04:
05: public SubClass() {
06: }
07:
08: public SubClass(int i) {
09: super (i);
10: PolymorphicTest.LOG.append("child " + i).append(" ");
11: }
12:
13: public SubClass(String s) {
14: super (s);
15: PolymorphicTest.LOG.append("child " + s).append(" ");
16: }
17:
18: public synchronized void methodTest() {
19: PolymorphicTest.LOG.append("child ");
20: super .methodTest();//this call is NOT a joinpoint
21: super .methodTest(1);//neither this one
22: //super.some();//this one neither
23: }
24:
25: }
|