void (GrVariableDeclaration variableDeclaration, StringBuilder builder, ExpressionContext expressionContext) { GrVariable[] variables = variableDeclaration.getVariables(); //Set<String> types = getVarTypes(variableDeclaration); //if (types.size() > 1) { if (variables.length > 1 && variableDeclaration.getParent() instanceof GrControlStatement) { expressionContext.setInsertCurlyBrackets(); } for (GrVariable variable : variables) { writeVariableSeparately(variable, builder, expressionContext); builder.append(";\n"); } builder.delete(builder.length()-1, builder.length()); //builder.removeFromTheEnd(1); /*return; } ModifierListGenerator.writeModifiers(builder, variableDeclaration.getModifierList()); PsiType type = getVarType(variables[0]); writeType(builder, type, variableDeclaration); builder.append(" "); for (GrVariable variable : variables) { writeVariableWithoutType(builder, expressionContext, variable); builder.append(", "); } if (variables.length > 0) { builder.delete(builder.length() - 2, builder.length()); } builder.append(";");*/ }