int (ValuesExtractionResult container) { final ValuesExtractionResult orig = container.apply(true); String newText = reformattedText(); int result = Utils.getDiff(mySettings.getCommonSettings(myFile.getLanguage()).getIndentOptions(), myOrigText, newText); orig.apply(false); return result; }