Spacing (int spaces, @Nullable final TextRange dependantRange, final boolean keepLineBreaks) { final ASTNode prev = FormatterUtil.getPreviousNonWhitespaceLeaf(myChild2); if (prev != null && prev.getElementType() == GroovyTokenTypes.mSL_COMMENT) { return Spacing.createSpacing(0, Integer.MAX_VALUE, 1, keepLineBreaks, keepBlankLines()); } else if (dependantRange != null) { return Spacing.createDependentLFSpacing(spaces, spaces, dependantRange, keepLineBreaks, keepBlankLines()); } else { return Spacing.createSpacing(spaces, spaces, 0, keepLineBreaks, keepBlankLines()); } }