Prevent android imports for existing compatibility library (i.e. actionbarsherlock) imports

Scenario:
If I have already imported com.actionbarsherlock.view.MenuItem, then if I run Cmd+Shift+O, I expect android.view.MenuItem to not be imported.

Solution:
Compare class names at the end of the package paths instead of comparing full package paths.