@ -52,18 +52,18 @@ public class PropertyReferenceException extends RuntimeException {
@@ -52,18 +52,18 @@ public class PropertyReferenceException extends RuntimeException {
*
* @param propertyName the name of the property not found on the given type , must not be { @literal null } or empty .
* @param type the type the property could not be found on , must not be { @literal null } .
* @param alreadyResolvedPah the previously calculated { @link PropertyPath } s , must not be { @literal null } .
* @param alreadyResolvedPat h the previously calculated { @link PropertyPath } s , must not be { @literal null } .
* /
public PropertyReferenceException ( String propertyName , TypeInformation < ? > type ,
List < PropertyPath > alreadyResolvedPah ) {
List < PropertyPath > alreadyResolvedPat h ) {
Assert . hasText ( propertyName , "Property name must not be null" ) ;
Assert . notNull ( type , "Type must not be null" ) ;
Assert . notNull ( alreadyResolvedPah , "Already resolved paths must not be null" ) ;
Assert . notNull ( alreadyResolvedPat h , "Already resolved paths must not be null" ) ;
this . propertyName = propertyName ;
this . type = type ;
this . alreadyResolvedPath = alreadyResolvedPah ;
this . alreadyResolvedPath = alreadyResolvedPat h ;
this . propertyMatches = Lazy . of ( ( ) - > detectPotentialMatches ( propertyName , type . getType ( ) ) ) ;
}