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

ProtectedIntro.java 365B

123456789101112131415
  1. public class ProtectedIntro {
  2. public static void main(String[] args) {
  3. new ProtectedIntro().realMain(args);
  4. }
  5. public void realMain(String[] args) {
  6. org.aspectj.testing.Tester.check(false, "shouldn't have compiled");
  7. }
  8. public ProtectedIntro() {
  9. }
  10. }
  11. class C {}
  12. aspect A {
  13. protected void C.foo() {}; // can't do this
  14. }