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.

Aspect.java 271B

123456789101112131415161718192021
  1. public class Aspect {
  2. public static void main(String []argv) {
  3. new Aspect().m();
  4. }
  5. public void m() {
  6. }
  7. }
  8. aspect Y {
  9. public int Aspect.x = 5;
  10. public void Aspect.foo() {
  11. }
  12. before():execution(* m()) {
  13. }
  14. before(): staticinitialization(*) {
  15. }
  16. }