I am writing some custom controllers, both rest Oauth2 protected ones, and normal web dispatch controllers. The problem is that IntelliJ doesnt see these as being used, making it hard to see “real” unused variables and such, see screenshot.
Hi,
This IntelliJ inspection is customizable.
You can specify in the settings the list of the annotations. If one of annotations is present on the field, the inspection will ignore that field.