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

Predicate getNodeEnclosingCallable

Gets the enclosing callable of n. Unlike n.getEnclosingCallable(), this predicate ensures that joins go from n to the result instead of the other way around.

Import path

import semmle.code.java.dataflow.internal.DataFlowImplCommon
DataFlowCallable getNodeEnclosingCallable(Node n)