public static SoyType tryRemoveNull ( SoyType soyType ) { if ( soyType == NullType . getInstance ( ) ) { return NullType . getInstance ( ) ; } return removeNull ( soyType ) ; }
If the type is nullable makes it non - nullable .