mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 14:11:27 +02:00
22 lines
315 B
Java
22 lines
315 B
Java
import org.aspectj.lang.annotation.*;
|
|
import org.aspectj.lang.*;
|
|
|
|
|
|
abstract aspect Super {
|
|
void foo(String s,int i) {}
|
|
}
|
|
|
|
public aspect ACode extends Super {
|
|
|
|
void around(): execution(* m(..)) {
|
|
super.foo("hello",7);
|
|
}
|
|
|
|
public static void main(String []argv) {
|
|
ACode.m();
|
|
}
|
|
|
|
public static void m() {}
|
|
}
|
|
|