Class ObjectPath


  • public final class ObjectPath
    extends java.lang.Object
    Helper class to navigate nested objects using dot notation
    • Method Summary

      Modifier and Type Method Description
      static <T> T eval​(java.lang.String path, java.lang.Object object)
      Return the value within a given object at the specified path, or null if the path does not exist
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • eval

        public static <T> T eval​(java.lang.String path,
                                 java.lang.Object object)
        Return the value within a given object at the specified path, or null if the path does not exist