blob: ddbc91b462c2f923bec90211855491b8ae578ea8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
abstract class B {}
aspect A {
abstract void B.m();
public static void doit(B b) { b.m(); }
}
public class C extends B {
public static void main(String[] args) {
A.doit(new C());
}
}
|