Announcing the release of version 0.7 of the Intention Power-Pack plugin. You can get it via the plugin manager, or at http://www.intellij.org/twiki/bin/view/Main/IntentionPowerPack.
Changes in version 0.7
"Flip method" intention now works on any commutative method, not just "equals" and "equalsIgnoreCase". For instance, you can now flip "compareTo" or "isAssignableFrom". (thanks to Debabrata Dash for the idea and code for this).
Handling of negations improved. For instance: applying
"Change && to ||" on
if(foo!=bar && baz<barangus)
would previously produce
if(!(!(foo!=bar) || !(baz<barangus)))
but now produces the much cleaner
if(!(foo==bar || baz>=barangus))
Much code cleanup
Let me know if there are any issues.