Class PropertyPathUtil

java.lang.Object
org.springframework.data.core.PropertyPathUtil

public class PropertyPathUtil extends Object
Utility class for PropertyPath and PropertyReference implementations.
Since:
4.1
Author:
Mark Paluch
  • Constructor Details

    • PropertyPathUtil

      public PropertyPathUtil()
  • Method Details

    • resolve

      public static PropertyPath resolve(Object obj)
      Resolve a PropertyPath from a Serializable lambda implementing a functional interface accepting a single method argument and returning a value. The form of the interface must follow a design aligned with Converter or Function.
      Parameters:
      obj - the serializable lambda object.
      Returns:
      the resolved property path.