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 record support to New Groovy Type wizard #1316

Closed
eric-milles opened this issue Nov 30, 2021 · 1 comment
Closed

Add record support to New Groovy Type wizard #1316

eric-milles opened this issue Nov 30, 2021 · 1 comment
Assignees
Milestone

Comments

@eric-milles
Copy link
Member

eric-milles commented Nov 30, 2021

record or @groovy.transform.RecordType will be selected based on Java compliance of environment and project. Simple template outcomes:

record Pogo() {
}
import groovy.transform.RecordType

@RecordType
class Pogo {
}

Java dialog for reference:
image

@eric-milles
Copy link
Member Author

image
image

"Which method stubs would you like to create?" is a TODO

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