CodeQL library for Java/Kotlin
codeql/java-all 2.0.1-dev (changelog, source)
Search

Predicate Private::nodeGetEnclosingCallable

Gets the callable in which this node occurs.

Import path

import semmle.code.java.dataflow.internal.DataFlowNodes
DataFlowCallable nodeGetEnclosingCallable(Node n)