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

getPropertyName

open static fun getPropertyName(propertyPath: String): String

Return the actual property name for the given property path.

Parameters

propertyPath - the property path to determine the property name for (can include property keys, for example for specifying a map entry)

Return
the actual property name, without any key elements