Intention Power Pack: show redundant finals

First, IPP is a very cool plugin, thanks.

In our project we have a lot of redundant finals before method
declarations. It would be cool, if IPP would be able to mark them with a
yellow warning and offers an intention to get rid of them.

Redundant is the "final" before a method declaration, when the class is
already final or the method is privat.

Thanks in advance.

Tom

2 comments


Most of the functionality you are asking for is in the InspectionGadgets plugin already (not-IPP). Check out the inspection "Final method in final class". I don't yet have a check for "private final" methods, but I'll put it in the next InspectionGadgets release.

--Dave

0

InspectionGadgets are OK for me. Thanks so far.

Tom

0

Please sign in to leave a comment.