void (@NotNull PsiRecordHeader recordHeader) { if (myType2 == JavaTokenType.RPARENTH) { createParenthSpace(myJavaSettings.RPAREN_ON_NEW_LINE_IN_RECORD_HEADER, myJavaSettings.SPACE_WITHIN_RECORD_HEADER); } else if (myType1 == JavaTokenType.LPARENTH) { createParenthSpace(myJavaSettings.NEW_LINE_AFTER_LPAREN_IN_RECORD_HEADER, myJavaSettings.SPACE_WITHIN_RECORD_HEADER); } else if (myType1 == JavaTokenType.COMMA) { createSpaceInCode(mySettings.SPACE_AFTER_COMMA); } else if (myType2 == JavaTokenType.COMMA) { createSpaceInCode(mySettings.SPACE_BEFORE_COMMA); } }