Can you document when `project` can be `null`? Also, is it possible to restrict return value to `@Nonnull FormValidation`?