void (@NotNull GrBlockLambdaBody body) { if (myType2 == GroovyTokenTypes.mLCURLY) { myResult = Spacing.createSpacing(0, 0, 0, false, 0); } if (myType1 == GroovyTokenTypes.mLCURLY || myType2 == GroovyTokenTypes.mRCURLY) { boolean simpleLambda = shouldHandleAsSimpleLambda(body); int spaces = simpleLambda && mySettings.SPACE_WITHIN_BRACES ? 1 : 0; myResult = Spacing.createSpacing(spaces, spaces, simpleLambda ? 0 : 1, mySettings.KEEP_LINE_BREAKS, keepBlankLines()); } }