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

Add annotation attribute completion proposals for meta-annotations #1355

Closed
eric-milles opened this issue Apr 5, 2022 · 1 comment
Closed
Assignees
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Apr 5, 2022

Groovy annotations that make use of groovy.transform.AnnotationCollector support the specification of attributes for the collected annotations. Consider the following:

@groovy.transform.Canonical(defaults=false,useCanEqual=false)
class Pogo {
}

"defaults" comes from TupleConstructor and "useCanEqual" comes from EqualsAndHashCode. https://docs.groovy-lang.org/latest/html/documentation/core-object-orientation.html#_meta_annotations

@eric-milles
Copy link
Member Author

image

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

No branches or pull requests

1 participant