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

Predicate getSecondLevelScope

Gets the second-level scope containing the node n, if any.

Import path

import semmle.code.java.dataflow.internal.DataFlowPrivate
DataFlowSecondLevelScope getSecondLevelScope(Node n)