@Override
  protected Element writeOldSettings(@NotNull String sourceToolName) throws WriteExternalException {
    Element sourceElement = super.writeOldSettings(sourceToolName);
    if (UNUSED_SYMBOL.equals(sourceToolName)) {
      new UnusedSymbolLocalInspection().writeSettings(sourceElement);
    }
    else if (UNUSED_DECLARATION.equals(sourceToolName)) {
      new UnusedDeclarationInspection().writeUnusedDeclarationSettings(sourceElement);
    }
    return sourceElement;
  }
@Override
  protected Element writeOldSettings(@NotNull String sourceToolName)