Eclipse has a settings for custom rules to define replacements for how package names are shown; com.mycompany.myproject=.. com.mycompany=.. Something like the previous example make Eclipse replace ...