in junit-platform-engine/src/main/java/org/junit/platform/engine/discovery/NestedMethodSelector.java [162:171]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
NestedMethodSelector that = (NestedMethodSelector) o;
return nestedClassSelector.equals(that.nestedClassSelector) && methodSelector.equals(that.methodSelector);
}