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.

NotFoundTypeName.java 932B

12345678910111213141516171819202122232425262728
  1. aspect NotFoundTypeName {
  2. pointcut foo1(): this(X); // this should be a warning under -Xlint
  3. pointcut foo2(): this(java.util.*); // NOT a warning
  4. pointcut foo3(): this(*..TimeZone); // NOT a warning
  5. pointcut foo4(): this(java.util.X*Y); // this should be a warning under -Xlint
  6. pointcut foo5(): this(java.XYZ*.*); // this should be a warning under -Xlint
  7. pointcut foo6(): this(X*Y); // this should be a warning under -Xlint
  8. pointcut foo7(): this(NotFound*Name); // NOT a warning
  9. pointcut foo8(): this(NotFoundTypeNameInDirectory); // NOT a warning
  10. pointcut foo9a(): this(a.b.c.NotFoundTypeNameInDirectory2); // NOT a warning
  11. pointcut foo9b(): this(*..NotFoundTypeNameInDirectory2); // NOT a warning
  12. pointcut foo10(): this(a.b.c.Ningo*); // this should be a warning under -Xlint
  13. public static void main(String[] args) {
  14. System.out.println("not found");
  15. }
  16. }