void (@NonNls @NotNull final SimpleColoredComponent coloredComponent) { coloredComponent.append(myElement instanceof PsiDirectory ? PyBundle.message("python.find.module.usages.dialog.label.prefix.package") : PyBundle.message("python.find.module.usages.dialog.label.prefix.module")); coloredComponent.append(" "); coloredComponent.append(myElement.getName(), SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); }