Skip to content

Conversation

@ventusfortis
Copy link

Include abstract/final modifiers and generic parameters in TypeDecl.code for Java; add a regression test. Fixes incorrect rendering described in #5726.

Copy link
Contributor

@maltek maltek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I think it would be better to loop over all modifiers of the type, instead of listing them here one by one. Otherwise we will always be missing some of them. I.e. do something like typ.getModifiers.asScala.map(_.asString).mkString("", " ", " ") (I haven't tested that snippet though.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants