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

[java] MethodWithSameNameAsEnclosingClass - consider enums and records #3723

Open
adangel opened this issue Jan 11, 2022 · 2 comments
Open
Labels
an:enhancement An improvement on existing features / rules

Comments

@adangel
Copy link
Member

adangel commented Jan 11, 2022

The rule also should consider other kinds of classes like enums and records. Maybe this PR is a good place to do this

Originally posted by @oowekyala in #3651 (comment)

@adangel adangel added the an:enhancement An improvement on existing features / rules label Jan 11, 2022
@adangel
Copy link
Member Author

adangel commented Jan 13, 2022

We probably should then change the rule name as well (enclosingClass -> ??)

@jsotuyod
Copy link
Member

EnclosingType ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
an:enhancement An improvement on existing features / rules
Projects
None yet
Development

No branches or pull requests

2 participants