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.

Code2.java 354B

123456789101112131415161718192021222324
  1. public class Code2 {
  2. public static void main(String[] argv) {
  3. new Code2().run();
  4. }
  5. public void run() {
  6. new Helper2().run();
  7. }
  8. }
  9. abstract class Helper {
  10. public void run() {
  11. }
  12. }
  13. class Helper2 extends Helper {
  14. }
  15. aspect X {
  16. before(): execution(* (is(AbstractType)).run(..)) {
  17. System.out.println(thisJoinPointStaticPart);
  18. }
  19. }