Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ProtectedFieldIntro.java 377B

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