mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diamonds: do not pay attention to param names for static factory
This commit is contained in:
@@ -187,9 +187,10 @@ public class PsiDiamondType extends PsiType {
|
||||
}
|
||||
else {
|
||||
buf.append("(").append(StringUtil.join(constructor.getParameterList().getParameters(), new Function<PsiParameter, String>() {
|
||||
int myIdx = 0;
|
||||
@Override
|
||||
public String fun(PsiParameter psiParameter) {
|
||||
return psiParameter.getType().getCanonicalText() + " " + psiParameter.getName();
|
||||
return psiParameter.getType().getCanonicalText() + " p" + myIdx++;
|
||||
}
|
||||
}, ",")).append(")");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user