CodeQL library for Java/Kotlin
codeql/java-all 1.1.1 (changelog, source)

Member predicate JaxRsResourceClass::getAnInjectableConstructor

Gets a Constructor that may be called by a JaxRS container to construct this class reflectively.

This only considers which constructors adhere to the rules for injectable constructors. In the case of multiple matching constructors, the container will choose the constructor with the most matching parameters, but this is not modeled, because it may take into account runtime aspects (existence of particular parameters).

Constructor getAnInjectableConstructor()