Interface PropertyExtractor<T>

    • Method Detail

      • getPropertyValue

        <V> V getPropertyValue​(T obj,
                               PropertyDef<V> propertyDef)
        Read the value of the property defined by propertyDef from the given object.
        Type Parameters:
        V - value type
        Parameters:
        obj - Java object
        propertyDef - definition of which property to read
        Returns:
        property value
        Throws:
        IllegalArgumentException - if this instance does not recognize propertyDef
        NullPointerException - if either parameter is null