You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314151617 |
- package pkg;
-
- import java.lang.annotation.*;
-
- class A {public void m() {}}
-
- class B extends A {public void m() {}}
-
- class C extends B {public void m() {}}
-
- aspect X {
- pointcut p(): execution(* C.*(..));
- before(): p() {}
- }
-
- @Retention(RetentionPolicy.RUNTIME)
- @interface Marker {}
|