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.

pr80571.aj 353B

12345678910111213141516171819202122
  1. public class pr80571 implements I{
  2. public static void main(String[] args) {
  3. new pr80571();
  4. }
  5. }
  6. interface I {
  7. public final String NAME = "I";
  8. public pr80571 testObj = new pr80571();
  9. }
  10. aspect A {
  11. Object around() : call(*.new(..)) {
  12. System.out.println("before");
  13. Object ret = proceed();
  14. System.out.println("after");
  15. return ret;
  16. }
  17. }