public boolean isModified(@NotNull CodeStyleSettings settings) {
    return !settings.getExcludedFiles().getDescriptors(NamedScopeDescriptor.NAMED_SCOPE_TYPE).equals(getDescriptors());
  }
public boolean isModified(@NotNull CodeStyleSettings settings)