Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Aspect121.java 514B

123456789101112131415161718192021
  1. // Aspect should be built with AspectJ 1.2.1 into aspects121.jar
  2. // We are testing the new AspectJ can recognize old aspects
  3. public aspect Aspect121 {
  4. pointcut anyMethodCall(): execution(* main(..));
  5. pointcut setIntField(): set(int *);
  6. pointcut complex(): call(* *(..)) && cflow(execution(* toplevel(..)));
  7. pointcut moreComplex(): call(* *(..)) && !(call(* foo*(..)) || call(* bar*(..)));
  8. before(): complex() { }
  9. after(): complex() { }
  10. void around(): anyMethodCall() {
  11. proceed();
  12. }
  13. }