Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

1234567891011121314151617181920
  1. /*
  2. * Modified this test case to reflect the fact that types in the default package
  3. * can only be used in named packages if they are imported.
  4. *
  5. * I believe that according to the 1.1 interpretation of the JLS that this import
  6. * is also disallowed and there is no way to refer to types in the default package
  7. * from a named package.
  8. */
  9. package the.deep.pkg;
  10. import org.aspectj.testing.Tester;
  11. import EachObjectTarget;
  12. aspect Aspect pertarget(target(EachObjectTarget)) {
  13. before(): call(void foo(..)) {
  14. EachObjectTarget t = null;
  15. Tester.check(true, "Dummy test");
  16. }
  17. }