Annotation Interface NonnullBeforeTest


@Documented @Target({FIELD,LOCAL_VARIABLE,METHOD}) public @interface NonnullBeforeTest
Indicates that the annotated item will not be null by the time that any method marked with the testNG annotation @Test runs.

This is typically used to annotate fields (or getters) that are given a value during a preparatory phase (for instance @BeforeMethod)