We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Code:
fun readId() = jacksonObjectMapper().readValue<Response>(content).id private class Response( val id: Int )
Response class is used, so rule "UnusedPrivateClass" skips it.
Response
Rule "UnusedPrivateClass" warns, that Response class is private and is not used.
Private classes for deserialization are very useful to hide interops inside deserialization wrappers.
The text was updated successfully, but these errors were encountered:
Thanks for reporting this bug.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Code:
Expected Behavior
Response
class is used, so rule "UnusedPrivateClass" skips it.Observed Behavior
Rule "UnusedPrivateClass" warns, that
Response
class is private and is not used.Context
Private classes for deserialization are very useful to hide interops inside deserialization wrappers.
Your Environment
The text was updated successfully, but these errors were encountered: