I see that https://github.com/uber/NullAway/blob/master/nullaway/src/main/java/com/uber/nullaway/ErrorProneCLIFlagsConfig.java#L177 has support for things like @Autowired and @MockitoBean. Can we add @value also to this list for Value injections in Test or in the constructor?
As a workaround, I currently suppress the error like this:
@SuppressWarnings("NullAway.Init")
@Value
String a;
or, as an alternative, to do it globally using a maven argument: -XepOpt:NullAway:ExcludedFieldAnnotations=org.springframework.beans.factory.annotation.Value