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.

Code.java 347B

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