compact suggestion (IDEA-53631)

This commit is contained in:
anna
2010-04-13 19:52:04 +04:00
parent fa85663813
commit b346d08090
@@ -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};