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.

Three.java 434B

12345678910111213
  1. // incorrect signature
  2. public class Three {
  3. public static void main(String []argv) {
  4. Integer[] Is = new Integer[5];
  5. }
  6. }
  7. aspect X {
  8. before(): execution(Integer.new(..)) { } // no match, it's execution
  9. before(): call(Integer.new(..)) { } // no match, it's an integer array
  10. before(): execution(Integer[].new(..)) { } // no match, no execution jp
  11. before(): call(Integer[].new()) { } // no match, the call takes an int
  12. }