Eclipse plugin like Intellij's InspectionGadget?
is there a plugin for eclipse like the InspectionGadget for Intellij?
On Intellij when you write some code that can be simplify you have a warning message/dialog on the editor and you have information to how to change the code.
Just a very simple example:
private int foobar(){
开发者_JS百科
int test = someCalculation();
return test;
}
i get a warning message that this code can be changed to
return someCalculation();
and other similar helps.
Thanks.
As for as code analysis FindBugs is pretty good.. But that should not work with following example :)
No, I don't think there is.
精彩评论