Public methods of inner classes are reported as private

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      For a code like this:
      public class TestCode {
          public TestCode() {
              new Object() {
                  public void publicMethod() {}
              };
          }
          void method() {
              new Object() {
                  public void publicMethod() {}
              };
          }
          class Inner {
              public void publicMethod() {}
          }
      }
      all three "publicMethod" methods are reported as private

            Assignee:
            Aleksandre Iline
            Reporter:
            Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: