You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

InstanceofWithoutClass.java 281B

123456789101112131415
  1. import org.aspectj.testing.Tester;
  2. // PR#271 instanceof used without a class
  3. public class InstanceofWithoutClass {
  4. public static void main(String[] args){
  5. new InstanceofWithoutClass().go();
  6. }
  7. void go() { }
  8. pointcut t(): this() && call(void go());
  9. }