Predicate hasInjectAnnotation
Holds if an injection annotation, such as @Autowired
or @Inject
, is present on this particular
annotatable element.
Import path
import semmle.code.java.frameworks.spring.SpringAutowire
predicate hasInjectAnnotation(Annotatable a)