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.

IntLiteral.java 353B

123456789101112131415161718
  1. import org.aspectj.testing.*;
  2. public class IntLiteral {
  3. public static void main(String[] args) {
  4. new IntLiteral().go();
  5. org.aspectj.testing.Tester.check(goRan, "Method go did not run");
  6. }
  7. static boolean goRan = false;
  8. void go() {
  9. goRan = true;
  10. }
  11. }
  12. aspect A {
  13. pointcut p1(int i) : execution(* *(5));
  14. }