ItemPresentation (@NotNull final PsiPackage aPackage) { return new ColoredItemPresentation() { @Override public TextAttributesKey getTextAttributesKey() { return null; } @Override public String getPresentableText() { return aPackage.getName(); } @Override public String getLocationString() { return aPackage.getQualifiedName(); } @Override public Icon getIcon(boolean open) { return IconManager.getInstance().getPlatformIcon(PlatformIcons.Package); } }; }