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.

Pr62606.aj 533B

1234567891011121314151617181920212223242526272829303132333435
  1. import org.aspectj.lang.annotation.*;
  2. public aspect Pr62606 {
  3. // xlint
  4. public Target.new() {}
  5. // no xlint
  6. public Target.new(String s) {
  7. this(1);
  8. }
  9. // no xlint
  10. @SuppressAjWarnings
  11. public Target.new(double d) {}
  12. // no xlint
  13. @SuppressAjWarnings({"noExplicitConstructorCall"})
  14. public Target.new(float f) {}
  15. // no xlint
  16. @SuppressAjWarnings({"adviceDidNotMatch","noExplicitConstructorCall"})
  17. public Target.new(short s) {}
  18. }
  19. class Target {
  20. int x = 5;
  21. int y;
  22. public Target(int z) {
  23. this.y = z;
  24. }
  25. }