String (TestIdentifier root, TestIdentifier rootParent) { return root.getSource() .map(testSource -> getLocationHintValue(testSource, rootParent != null ? rootParent.getSource().orElse(null) : null)) .filter(maybeLocationHintValue -> !NO_LOCATION_HINT_VALUE.equals(maybeLocationHintValue)) .map(locationHintValue -> "locationHint='" + locationHintValue + "'" + getMetaInfo(root)) .orElse(NO_LOCATION_HINT); }