[ANN] InspectionGadgets 0.0.6 released


Announcing version 0.0.6 of the InspectionGadgets plugin, available via the PluginManager
or at http://www.intellij.org/twiki/bin/view/Main/InspectionGadgets.

Changes in version 0.0.6

New Inspections

Unnecessary fully qualified name(*)
Method overloads method of superclass
Use of obsolete collection type
Infinite loop statement
For loop where update or condition doesn't use loop variable
For loop with missing components
Redundant field initialization(*)
Unused label
Serializable class with unconstructable ancestor

(Inspections marked with * include quickfixes)

plus lots of bugfixes

--Dave "I wanna see that download counter spin!" Griffith

32 comments
Comment actions Permalink

Got it. It's not available as an online error, it's only available as a batch inspection. That's because IDEA checks for the exception being thrown just in the method itself, but also in any methods that override it. That makes it a global inspection, which means that InspectionGadgets can't do it (no API access), and that it doesn't show up in on-line error checking. Given that, a local inspection (not checking overriding methods) would be doable, but somewhat odd. If you only want this sort of thing periodically, accessing the existing inspection via the exception panel is probably the way to go.

0
Comment actions Permalink

Great, that makes sense given the current API limitation of no global
inspections. I hadn't thought that some inline inspections would have a
deeper version of the inspection in batch. Good to know. I'm still
hoping they will extend the API per request #18391 right after Aurora.

Thanks,
Jon

Dave Griffith wrote:

Got it. It's not available as an online error, it's only available as a batch inspection. That's because IDEA checks for the exception being thrown just in the method itself, but also in any methods that override it. That makes it a global inspection, which means that InspectionGadgets can't do it (no API access), and that it doesn't show up in on-line error checking. Given that, a local inspection (not checking overriding methods) would be doable, but somewhat odd. If you only want this sort of thing periodically, accessing the existing inspection via the exception panel is probably the way to go.


0

Please sign in to leave a comment.