String (final PsiModifierListOwner aClass) { int flags = getFlags(aClass, false); StringBuilder adj = new StringBuilder(); for (IconLayerProvider provider : IconLayerProvider.EP_NAME.getExtensionList()) { if (provider.getLayerIcon(aClass, false) != null) { adj.append(" ").append(provider.getLayerDescription()); } } if (BitUtil.isSet(flags, FLAGS_ABSTRACT)) adj.append(" ").append(JavaPsiBundle.message("node.abstract.flag.tooltip")); if (BitUtil.isSet(flags, FLAGS_FINAL)) adj.append(" ").append(JavaPsiBundle.message("node.final.flag.tooltip")); if (BitUtil.isSet(flags, FLAGS_STATIC)) adj.append(" ").append(JavaPsiBundle.message("node.static.flag.tooltip")); PsiModifierList list = aClass.getModifierList(); if (list != null) { int level = PsiUtil.getAccessLevel(list); if (level != PsiUtil.ACCESS_LEVEL_PUBLIC) { adj.append(" ").append(Strings.capitalize(JavaPsiBundle.visibilityPresentation(PsiUtil.getAccessModifier(level)))); } } return adj.toString(); }