public SmartHandle returnValue ( Class < ? > type , Object value ) { return new SmartHandle ( signature . changeReturn ( type ) , MethodHandles . filterReturnValue ( handle , MethodHandles . constant ( type , value ) ) ) ; }
Replace the return value with the given value performing no other processing of the original value .