2003-03-06 23:12:00 +01:00
|
|
|
/*
|
|
|
|
* Modified this test case to reflect the fact that types in the default package
|
|
|
|
* can only be used in named packages if they are imported.
|
|
|
|
*
|
|
|
|
* I believe that according to the 1.1 interpretation of the JLS that this import
|
|
|
|
* is also disallowed and there is no way to refer to types in the default package
|
|
|
|
* from a named package.
|
|
|
|
*/
|
|
|
|
|
2002-12-16 19:51:06 +01:00
|
|
|
package the.deep.pkg;
|
|
|
|
|
|
|
|
import org.aspectj.testing.Tester;
|
2003-03-06 23:12:00 +01:00
|
|
|
import EachObjectTarget;
|
2002-12-16 19:51:06 +01:00
|
|
|
|
|
|
|
aspect Aspect pertarget(target(EachObjectTarget)) {
|
|
|
|
before(): call(void foo(..)) {
|
2003-03-06 23:12:00 +01:00
|
|
|
EachObjectTarget t = null;
|
2002-12-16 19:51:06 +01:00
|
|
|
Tester.check(true, "Dummy test");
|
|
|
|
}
|
|
|
|
}
|