mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
compact suggestion (IDEA-53631)
This commit is contained in:
+3
@@ -86,6 +86,9 @@ class AnonymousToInnerDialog extends DialogWrapper{
|
||||
if (typeParameters.length > 0) {
|
||||
names = new String[]{StringUtil.join(typeParameters, new Function<PsiType, String>() {
|
||||
public String fun(PsiType psiType) {
|
||||
if (psiType instanceof PsiClassType) {
|
||||
return ((PsiClassType)psiType).rawType().getPresentableText();
|
||||
}
|
||||
return psiType.getPresentableText();
|
||||
}
|
||||
}, "") + name, "My" + name};
|
||||
|
||||
Reference in New Issue
Block a user