NotNullValidator inlined with lambda