boolean (DiffCapable<?, ?> other) { if (!(other instanceof JvmMethod)) { return false; } JvmMethod that = (JvmMethod)other; return Objects.equals(getType(), that.getType()) && isSameByJavaRules(that); }