void (@NotNull GrDocComment comment) { if (!isGroovyDocFormattingAllowed()) { createLazySpace(); return; } if (myType1 == GroovyDocElementTypes.GDOC_TAG && myType2 == GroovyDocElementTypes.GDOC_TAG && mySettings.getRootSettings().JD_LEADING_ASTERISKS_ARE_ENABLED) { IElementType type = myChild1.getLastChildNode().getElementType(); if (type == GroovyDocTokenTypes.mGDOC_ASTERISKS) { createSpaceInCode(true); } } if (myType1 == GroovyDocTokenTypes.mGDOC_COMMENT_START && myType2 == GroovyDocTokenTypes.mGDOC_COMMENT_DATA || myType1 == GroovyDocTokenTypes.mGDOC_COMMENT_DATA && myType2 == GroovyDocTokenTypes.mGDOC_COMMENT_END || myType1 == GroovyDocTokenTypes.mGDOC_ASTERISKS && myType2 == GroovyDocTokenTypes.mGDOC_COMMENT_END) { createLazySpace(); } }