boolean (Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; JsonSchemaTreeNode node = (JsonSchemaTreeNode)o; if (myAny != node.myAny) return false; if (myNothing != node.myNothing) return false; if (myResolveState != node.myResolveState) return false; if (!Objects.equals(mySchema, node.mySchema)) return false; //noinspection RedundantIfStatement if (!myPosition.equals(node.myPosition)) return false; return true; }