aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs185/451966/Code.java
blob: 7a60ede4cd319bc5f701cfef3cd55e41f73990e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
interface Common { }

interface Allergies extends Common { }

aspect Y {
  private boolean Common.instancesInvariant() {
    return false;
  }
}

privileged aspect AspectJMLRac_allergies_Allergies {
  before(final Allergies object$rac): execution(* Allergies+.*(..)) && this(object$rac) {
    boolean b = object$rac.instancesInvariant();
  }
}