@Override
  public void collectTools(@NotNull List<? super ScopeToolState> result) {
    if (myTools != null) {
      result.addAll(myTools);
    }
    result.add(myDefaultState);
  }
@Override
  public void collectTools(@NotNull List<? super ScopeToolState> result)