1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-08-26 05:57:44 +02:00
org.aspectj/tests/bugs/AroundNames.java
2003-04-22 22:29:51 +00:00

28 Zeilen
388 B
Java

public class AroundNames {
public static void main(String[] args) {
new Base().doit();
new Derived().doit();
}
}
class Base {
static private final void m() {}
public void doit() {
m();
}
}
class Derived {
static private final void m() { return; } // "Derived"; }
public void doit() {
m();
}
}
aspect A {
Object around(): execution(* m()) {
return proceed();
}
}