Checks static methods and fields with Spring autowired annotation.