GrParameterInfo (String name, PsiType type) { String notNullName = name != null ? name : ""; String defaultValueText = GroovyToJavaGenerator.getDefaultValueText(type.getCanonicalText()); return new GrParameterInfo(notNullName, defaultValueText, "", type, NEW_PARAMETER, false); }