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.
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.