Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

EachObjectInDeepPackage.java 583B

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. }