DiffIgnoredRangeProvider (@Nullable Project project, @NotNull DiffContent content1, @NotNull DiffContent content2) { for (DiffIgnoredRangeProvider provider : DiffIgnoredRangeProvider.EP_NAME.getExtensions()) { if (provider.accepts(project, content1) && provider.accepts(project, content2)) { return provider; } } return null; }