Interface PojoCaster<T>

    • Method Detail

      • cast

        T cast​(Object object)
        Parameters:
        object - the object to cast
        Returns:
        the cast object
        Throws:
        RuntimeException - If the object could not be cast
      • castOrNull

        T castOrNull​(Object object)
        Parameters:
        object - the object to cast
        Returns:
        the cast object, or null if the object could not be cast