Details
-
Bug
-
Resolution: Done
-
Major
-
2.0.2.Final
-
None
Description
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.
Attachments
Issue Links
- blocks
-
WELD-2206 Upgrade Jandex to 2.0.x
- Resolved