docs: @Override
      public int compareTo(ComparableMethod o) {
          if (o instanceof XMethod) {
              return XFactory.compare((XMethod) this, (XMethod) o);
          }
          throw new ClassCastException("Don't know how to compare " + this.getClass().getName() + " to " + o.getClass().getName());
      }