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.

LazyTjpTest4.java 490B

12345678910111213141516171819202122
  1. public class LazyTjpTest4 {
  2. public void test1 () { }
  3. private static aspect Aspect1 {
  4. private static boolean enabled = true;
  5. after () : if(enabled) && execution(public void LazyTjpTest4.test1()) {
  6. System.out.println(thisJoinPoint);
  7. }
  8. before() : execution(public void LazyTjpTest4.test1()) {
  9. System.out.println(thisJoinPoint);
  10. }
  11. before() : execution(public void LazyTjpTest4.test1()) {
  12. System.out.println(thisJoinPoint);
  13. }
  14. }
  15. }