in tools/javac/Api.java [135:141]
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Method methodApi = (Method) o;
if (!name.equals(methodApi.name)) return false;
return Arrays.equals(parameterTypes, methodApi.parameterTypes);
}