StaticFieldUpateCheck extends AbstractInSynchronizeChecker { @Override protected MethodMatchers getMethodInvocationMatchers() { return MethodMatchers.none(); }  @Override List<Kind> nodesToVisit(); @Override void visitNode(Tree tree); @Override void leaveNode(Tree tree);  }
@Test void should_not_have_any_method_invocation_matchers() { assertThat(new StaticFieldUpateCheck().getMethodInvocationMatchers()).isSameAs(MethodMatchers.none()); }