sdaschner / jaxrs-analyzer

Creates REST documentation for JAX-RS projects
Apache License 2.0
319 stars 101 forks source link

Issue #182/#191: NPE on enum methods with javadoc comments #199

Open mwasson opened 3 years ago

mwasson commented 3 years ago

This fixes the problem first identified in issue #182, and isolated by rmpestano in issue #191. JavaDocParserVisitor doesn't override the method for enums, so it doesn't properly update its state when visiting them, leading to the NPE if the enum has a method with a Javadoc comment.