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

Class DataFlow::Node

An element, viewed as a node in a data flow graph. Either an expression, a parameter, or an implicit varargs array creation.

Import path

import semmle.code.java.dataflow.DataFlow

Direct supertypes

Known direct subtypes

Predicates

asExpr

Gets the expression corresponding to this node, if any.

asParameter

Gets the parameter corresponding to this node, if any.

getEnclosingCallable

Gets the callable in which this node occurs.

getLocation

Gets the source location for this element.

getType

Gets the type of this node.

getTypeBound

Gets an upper bound on the type of this node.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see Locations.

toString

Gets a textual representation of this element.