spring-framework / org.springframework.beans / PropertyAccessorUtils / matchesProperty

matchesProperty

open static fun matchesProperty(registeredPath: String, propertyPath: String): Boolean

Determine whether the given registered path matches the given property path, either indicating the property itself or an indexed element of the property.

Parameters

propertyPath - the property path (typically without index)

registeredPath - the registered path (potentially with index)

Return
whether the paths match