mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-24 13:54:45 +02:00
19 lines
268 B
Java
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;
|
|
}
|