boolean (Object o) { if (this == o) return true; if (!(o instanceof ClosureSyntheticParameter parameter)) return false; // Closure parameter is uniquely identified by the closure itself return Objects.equals(myClosure, parameter.myClosure); }