@Override
    public boolean equals(Object o) {
      if (o instanceof MethodSetEntry) {
        MethodSetEntry other = (MethodSetEntry) o;
        return name.equals(other.name)
            && returnType.equals(other.returnType)
            && Arrays.equals(paramTypes, other.paramTypes);
      }
      return false;
    }
Wrapper class to let us disambiguate {@link Method} objects.

<p>The purpose of this class is to override the {@link #equals(Object)} and {@link #hashCode()}
methods so we can use a {@link Set} to remove duplicate methods that are overrides of one
another. For these purposes, we consider two methods to be equal if they have the same name,
return type, and parameter types.
android/android_framework/dex-maker/src/main/java/com/android/dx/stock/ProxyBuilder.java