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 312B

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