bug
bug copied to clipboard
Verify unused
It would be nice if -Xlint also verified that an element annotated unused is in fact unused.
Currently it's just an exemption from the unused warning.
Probably it's not necessary to add an option, -Xlint:used for this case, although the LOL factor is tempting.
Agreed, there's no need for an option to disable verifying that the unused-parameter-suppressing annotation is on a parameter that is actually used.
Agreed, there's no need for an option to disable verifying that the unused-parameter-suppressing annotation is on a parameter that is actually used.
Alternatively I would suggest -Xlint:confused.