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.

A.java 521B

123456789101112131415161718192021222324252627
  1. package typeNameConflicts.aspects;
  2. aspect A {
  3. /*
  4. before(): set(int value) { //&& args(o) {
  5. System.out.println(thisJoinPointStaticPart);
  6. }
  7. */
  8. after() returning(Object o): set(int value) {
  9. System.out.println(o);
  10. }
  11. before(): call(void Runnable.run()) {
  12. System.out.println("about to run");
  13. }
  14. /*
  15. after(): set(int value) {
  16. System.out.println("set");
  17. }
  18. after() throwing: set(int value) {
  19. System.out.println("throwing");
  20. }
  21. */
  22. }