Reports fields annotated with @RegisterExtension which have a wrong type or are not declared as static when it's required. Such extensions won't be registered correctly and could lead to test startup failures.

Example:


  public class MyTest {
    @RegisterExtension
    private JUnit4Rule rule;
  }