@Override
  @NotNull
  public synchronized Collection<RefMethod> getSuperMethods() {
    if (mySuperMethods instanceof Collection) {
      //noinspection unchecked
      return (Collection<RefMethod>)mySuperMethods;
    }
    return mySuperMethods != null ? List.of((RefMethod)mySuperMethods) : List.of();
  }
@Override
  @NotNull
  public synchronized Collection<RefMethod> getSuperMethods()