Class PropertyShadowBuilderImpl

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      <T> T build​(java.lang.Object source, java.lang.String propertyName, java.lang.Class<T> propertyType)  
      • Methods inherited from class java.lang.Object

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

      • build

        public <T> T build​(java.lang.Object source,
                           java.lang.String propertyName,
                           java.lang.Class<T> propertyType)
        Specified by:
        build in interface PropertyShadowBuilder
        Parameters:
        source - the object from which a property will be extracted
        propertyName - the name of a property of the object, which must be readable
        propertyType - the expected type of the property, the actual property type must be assignable to this type
        Returns:
        the shadow