private void writeStubConstructorInvocation(StringBuilder text,
                                              PsiMethod constructor,
                                              PsiSubstitutor substitutor,
                                              PsiElement invocation) {
    final PsiParameter[] superParams = constructor.getParameterList().getParameters();
    for (int j = 0; j < superParams.length; j++) {
      if (j > 0) text.append(", ");
      text.append('(');
      final PsiType type = superParams[j].getType();
      TypeWriter.writeType(text, substitutor.substitute(type), invocation, classNameProvider);
      text.append(')').append(GroovyToJavaGenerator.getDefaultValueText(type.getCanonicalText()));
    }
  }
private void writeStubConstructorInvocation(StringBuilder text,
                                              PsiMethod constructor,
                                              PsiSubstitutor substitutor,
                                              PsiElement invocation)