Uploaded image for project: 'Jandex'
  1. Jandex
  2. JANDEX-37

ClassInfo does not distinguish between inner and static nested classes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.3.Final
    • 2.0.2.Final
    • None

      Inner classes are non-static nested classes. But ClassInfo.NestingType.INNER is also returned for static nested classes and that's quite confusing. The same probably applies to org.jboss.jandex.DotName.isInner(). Fortunately, ClassInfo.flags() can be used to identify static nested classes.

      ClassInfo.NestingType.INNER should be either called NESTED or a special value for static nested classes should be added.

              jgreene@redhat.com Jason Greene
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: