boolean (Object obj) { if (!(obj instanceof StubParentStrategy other)) { return PhysicalDomParentStrategy.strategyEquals(this, obj); } if (obj == this) return true; if (!other.getClass().equals(getClass())) return false; if (!other.myStub.equals(myStub)) return false; return Comparing.equal(getContainingFile(myStub.getHandler()), other.getContainingFile(other.myStub.getHandler())); }