AbstractLayoutCodeProcessor (@NotNull AbstractLayoutCodeProcessor processor) { if (myProcessSelectedText) { processor = new CodeCleanupCodeProcessor(processor, myEditor.getSelectionModel()); } else { processor = new CodeCleanupCodeProcessor(processor); } return processor; }