org.aspectj/tests/errors/BadTypeName.java
2002-12-17 03:53:16 +00:00

19 lines
268 B
Java

aspect BadTypeName {
pointcut prints(Foo f): call(void System.out.println(..));
Foo x = null;
a.b.c.Foo y = null;
System.Inner i = null;
Object o = a.b.c.Foo.field;
Object o1 = C.privateField;
}
class C {
private int privateField;
}