We currently allow ModelStatement.argument() to return null for the purposes on supporting argumentless statements.
We really want to make sure nulls do no occur – and for that yang.common.Empty is a much better fit.
Convert all Void use to Empty, making sure ModelStatement.argument() always returns non-null.
- split from
-
YANGTOOLS-908 DeclaredStatement.argument() nullness is ambiguous
- Resolved