CodeQL library for Java/Kotlin
codeql/java-all 1.1.0 (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)