@@ -158,8 +158,7 @@ default E getRequiredPersistentEntity(P persistentProperty) throws MappingExcept
158158 *
159159 * @param propertyPath must not be {@literal null}.
160160 * @return the {@link PersistentPropertyPath} representing the given {@link PropertyPath}.
161- * @throws InvalidPersistentPropertyPath in case not all of the segments of the given {@link PropertyPath} can be
162- * resolved.
161+ * @throws InvalidPersistentPropertyPath in case not all segments of the given {@link PropertyPath} can be resolved.
163162 */
164163 PersistentPropertyPath <P > getPersistentPropertyPath (PropertyPath propertyPath ) throws InvalidPersistentPropertyPath ;
165164
@@ -169,16 +168,27 @@ default E getRequiredPersistentEntity(P persistentProperty) throws MappingExcept
169168 * @param propertyPath must not be {@literal null}.
170169 * @param type must not be {@literal null}.
171170 * @return the {@link PersistentPropertyPath} representing the given property path on the given type.
172- * @throws InvalidPersistentPropertyPath in case not all of the segments of the given property path can be resolved.
171+ * @throws InvalidPersistentPropertyPath in case not all segments of the given property path can be resolved.
173172 */
174173 PersistentPropertyPath <P > getPersistentPropertyPath (String propertyPath , Class <?> type )
175174 throws InvalidPersistentPropertyPath ;
176175
176+ /**
177+ * Returns all {@link PersistentProperty}s for the given dot path notation based on the given type.
178+ *
179+ * @param propertyPath must not be {@literal null}.
180+ * @param type must not be {@literal null}.
181+ * @return the {@link PersistentPropertyPath} representing the given property path on the given type.
182+ * @throws InvalidPersistentPropertyPath in case not all segments of the given property path can be resolved.
183+ * @since 3.2.1
184+ */
185+ PersistentPropertyPath <P > getPersistentPropertyPath (String propertyPath , TypeInformation <?> type )
186+ throws InvalidPersistentPropertyPath ;
187+
177188 /**
178189 * Returns all {@link PersistentPropertyPath}s pointing to properties on the given type that match the given
179190 * {@link Predicate}. In case of circular references the detection will stop at the property that references a type
180- * that's already included in the path. Note, that is is a potentially expensive operation as results cannot be
181- * cached.
191+ * that's already included in the path. Note, that is a potentially expensive operation as results cannot be cached.
182192 *
183193 * @param type must not be {@literal null}.
184194 * @param predicate must not be {@literal null}.
0 commit comments