WRONG_NAME_OF_VARIABLE_INSIDE_ACCESSOR
false positive
#1935
Labels
Milestone
WRONG_NAME_OF_VARIABLE_INSIDE_ACCESSOR
false positive
#1935
Describe the bug
Here's a piece of code I have:
The problem is diktat claims I have to use a
field
property instead of[email protected]
which isn't technically possible in this case.Perhaps the case is non-trivial for the parser, and if I had used a named private class instead of an anonymous object, this could have been avoided, but I think I should point out that such snippets happen too.
Environment information
The text was updated successfully, but these errors were encountered: