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.

Pr88652.aj 347B

1234567891011121314151617181920
  1. public aspect Pr88652 {
  2. pointcut p(): call(Touple.new(..));
  3. declare warning: p() : "should match";
  4. public static void main(String[] args) {
  5. Touple t = new Touple(new Object());
  6. Touple t2 = new Touple(new Object(),new Object());
  7. }
  8. }
  9. class Touple {
  10. public Touple(Object formulaHandle, Object... propositions) {
  11. ; // empty
  12. }
  13. }