mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
external annotations: support annotations on package (IDEA-230307)
GitOrigin-RevId: 3500b5e9b6534232da84c473906b95b7a4f82878
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7bae8f97d9
commit
04a9d681c9
@@ -389,6 +389,10 @@ public class PsiFormatUtil extends PsiFormatUtilBase {
|
||||
|
||||
@Nullable
|
||||
public static String getExternalName(PsiModifierListOwner owner, boolean showParamName, int maxParamsToShow) {
|
||||
if (owner instanceof PsiPackage) {
|
||||
return ((PsiPackage)owner).getQualifiedName();
|
||||
}
|
||||
|
||||
StringBuilder builder = new StringBuilder();
|
||||
if (owner instanceof PsiClass) {
|
||||
ClassUtil.formatClassName((PsiClass)owner, builder);
|
||||
|
||||
Reference in New Issue
Block a user