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.

V.java 342B

123456789101112131415161718192021222324
  1. public class V {
  2. public static int staticVar;
  3. public int instanceVar;
  4. public static void main(String[] argv) {
  5. new V().m();
  6. }
  7. public void m() {
  8. staticVar = 4;
  9. instanceVar = 5;
  10. }
  11. static {
  12. System.err.println("In static initializer");
  13. }
  14. }
  15. aspect Vaspect pertypewithin(V) {
  16. before(): within(*) { }
  17. }