您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

Driver.java 327B

12345678910111213141516171819
  1. import org.aspectj.testing.Tester;
  2. public class Driver {
  3. public static void main(String[] args) { test(); }
  4. public static void test() {
  5. C c = new C();
  6. Tester.check(c == c.foo(), "this wasn't this");
  7. }
  8. }
  9. class C { }
  10. aspect A {
  11. //introduction C {
  12. C C.foo() { return this; }
  13. //}
  14. }