Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7903345

Public methods of inner classes are reported as private

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • None
    • None
    • 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

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

              Created:
              Updated:
              Resolved: