boolean (Object o) { if (this == o) return true; if (!(o instanceof NullabilityProblem<?> problem)) return false; return myKind.equals(problem.myKind) && getAnchor().equals(problem.getAnchor()) && Objects.equals(myDereferencedExpression, problem.myDereferencedExpression); }