This is because we want to make client's code NPE-safe and respect NullAway rules. Since java.lang.Void cannot be instantiated, a developer is forced to return null from the command that returns Void. We want to avoid this with a custom null object Voidy.
Hi guys,
why did you introduce Voidy? java.lang.Void also exists which would fit the use case exactly.
Cheers, R