mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-24 05:44:46 +02:00
16 lines
281 B
Java
16 lines
281 B
Java
|
|
import org.aspectj.testing.Tester;
|
|
|
|
// PR#271 instanceof used without a class
|
|
|
|
public class InstanceofWithoutClass {
|
|
|
|
public static void main(String[] args){
|
|
new InstanceofWithoutClass().go();
|
|
}
|
|
|
|
void go() { }
|
|
|
|
pointcut t(): this() && call(void go());
|
|
}
|