boolean (final Object o) { if (this == o) return true; if (!(o instanceof JavaMethod that)) return false; if (!myDeclaringClass.equals(that.myDeclaringClass)) return false; if (!mySignature.equals(that.mySignature)) return false; return true; }