void (@NotNull GrRangeExpression range) { final PsiType type = range.getType(); LOG.assertTrue(type instanceof GrRangeType); final PsiClass resolved = ((GrRangeType)type).resolve(); builder.append("new "); if (resolved == null || GroovyCommonClassNames.GROOVY_LANG_RANGE.equals(resolved.getQualifiedName())) { builder.append(GroovyCommonClassNames.GROOVY_LANG_OBJECT_RANGE); } else { builder.append(resolved.getQualifiedName()); } builder.append('('); final GrExpression left = range.getFrom(); left.accept(this); builder.append(", "); final GrExpression right = range.getTo(); if (right != null) { right.accept(this); } builder.append(')'); }