Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GROOVY-9546: groovydoc: fix annotation rendering #1243

Closed
wants to merge 1 commit into from

Conversation

vmj
Copy link
Contributor

@vmj vmj commented May 11, 2020

First stab at fixing the annotation rendering.

Somehow the annotations are not shown on properties at all.

Let me know if this is too hacky.

@vmj
Copy link
Contributor Author

vmj commented May 11, 2020

Created a separate issue for the missing property annotations, since I couldn't yet figure it out: https://issues.apache.org/jira/browse/GROOVY-9548

@asfgit asfgit closed this in 302bf2b May 11, 2020
import groovy.transform.NamedVariant

// The annotations that are used here don't really matter,
// since groovydoc shows all annotations, not just @Documented ones.
Copy link
Contributor

Choose a reason for hiding this comment

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

We do plan to correct @documented behaviour one day. We currently try to minimise resolving classes when not needed but we will likely change that at some point.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it! GROOVY-4634 is probably it, then.

Copy link
Contributor

Choose a reason for hiding this comment

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

That's the one. :-)

@paulk-asert
Copy link
Contributor

Merged. Thanks!

@vmj vmj deleted the GROOVY-9546 branch May 11, 2020 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants