boolean () { if (mySettings.KEEP_FIRST_COLUMN_COMMENT && TokenSets.COMMENT_SET.contains(myType2)) { if (!isAfterElementOrSemi(GroovyStubElementTypes.IMPORT)) { myResult = Spacing.createKeepingFirstColumnSpacing(0, Integer.MAX_VALUE, mySettings.KEEP_LINE_BREAKS, keepBlankLines()); return true; } return false; } ASTNode prev = FormatterUtil.getPreviousNonWhitespaceLeaf(myChild2); if (prev != null && prev.getElementType() == GroovyTokenTypes.mNLS) { prev = FormatterUtil.getPreviousNonWhitespaceLeaf(prev); } if (prev != null && prev.getElementType() == GroovyTokenTypes.mSL_COMMENT) { myResult = Spacing.createSpacing(0, Integer.MAX_VALUE, 1, mySettings.KEEP_LINE_BREAKS, keepBlankLines()); return true; } return false; }