aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152/pr134425/Derived.aj
blob: dcf2e9a01f2b850d78b541ee9c0e0411831dd032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public aspect Derived {
    public interface DerivedBean extends Base.BaseBean {}

    public String DerivedBean.describe() {
        return "Derived state plus "+super.describe();
    }
    public static void main(String args[]) {
        new DerivedBean() {}.describe();
    }
}

aspect Base {
    public interface BaseBean {}
    public String BaseBean.describe() {
        return "Base holds "+super.toString();
    }
}