void (@NotNull PsiImportList list) { if (ElementType.IMPORT_STATEMENT_BASE_BIT_SET.contains(myType1) && ElementType.IMPORT_STATEMENT_BASE_BIT_SET.contains(myType2)) { if (myImportHelper == null) myImportHelper = new ImportHelper(myJavaSettings); int emptyLines = myImportHelper.getEmptyLinesBetween( SourceTreeToPsiMap.treeToPsiNotNull(myChild1), SourceTreeToPsiMap.treeToPsiNotNull(myChild2) ) + 1; myResult = Spacing.createSpacing(0, 0, emptyLines, mySettings.KEEP_LINE_BREAKS, mySettings.KEEP_BLANK_LINES_IN_DECLARATIONS); } }