Skip to content

Conversation

@ventusfortis
Copy link
Contributor

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

@ventusfortis ventusfortis requested a review from maltek January 15, 2026 16:58
@maltek maltek merged commit 17781c4 into joernio:master Jan 16, 2026
8 checks passed
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