code: public static boolean overrides(
        ExecutableElement overrider,
        ExecutableElement overridden,
        TypeElement type,
        Types typeUtils) {
      return new ExplicitOverrides(typeUtils).overrides(overrider, overridden, type);
    }
docs: Tests whether one method, as a member of a given type, overrides another method.
  
  <p>This method does the same thing as {@link Elements#overrides(ExecutableElement,
  ExecutableElement, TypeElement)}, but in a way that is more consistent between compilers, in
  particular between javac and ecj (the Eclipse compiler).
  
  @param overrider the first method, possible overrider
  @param overridden the second method, possibly being overridden
  @param type the type of which the first method is a member
  @return {@code true} if and only if the first method overrides the second