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.

Binkley.java 368B

12345678910111213141516
  1. import org.aspectj.testing.Tester;
  2. public class Binkley {
  3. public static void main(String[] args) {
  4. new Binkley().realMain(args);
  5. }
  6. public void realMain(String[] args) {
  7. Tester.check(true, "compiled!");
  8. }
  9. }
  10. aspect A percflow(pc())
  11. {
  12. pointcut pc() : within(Binkley);
  13. before(): cflow(pc()) && !(call (new())) && !within(A) { }
  14. }