code: public static String getParentPropertyPath(String propertyPath) {
         int propertySeparatorIndex = getLastNestedPropertySeparatorIndex(propertyPath);
         return propertySeparatorIndex == -1? "": propertyPath.substring(0, propertySeparatorIndex);
     }
docs: Returns the path to the parent component of the provided property path.