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

Allow MXBean in IdentifierName #4776

Open
PhilippWendler opened this issue Jan 17, 2025 · 0 comments
Open

Allow MXBean in IdentifierName #4776

PhilippWendler opened this issue Jan 17, 2025 · 0 comments

Comments

@PhilippWendler
Copy link

Naming an interface with the suffix MXBean marks it as being an MXBean. This should be allowed by the IdentifierName check such that one does not have to add a suppression to every MXBean interface.

There is also an @MXBean annotation that can be used as an alternative for the name suffix, but MXBeans are basically always a public API (they can be accessed via the JVM management interface), so probably many users will not want to rename existing types.

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

No branches or pull requests

1 participant