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

Predicate ejbCalls

Holds if there exists a call chain from an EJB-Callable origin to a ForbiddenCallable target that does not contain any intermediate EJB-Callable or ForbiddenCallable, and where call is the direct call site of target.

Import path

predicate ejbCalls(Callable origin, ForbiddenCallable target, Call call)