Class ExternalSinkModels
java.lang.Object
org.openrewrite.analysis.dataflow.ExternalSinkModels
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExternalSinkModelsDeprecated.static ExternalSinkModelsinstance()booleanisSinkNode(DataFlowNode sinkNode, String kind) True if theexpressioncursoris specified as a sink with the givenkindin the CSV flow model.
-
Constructor Details
-
ExternalSinkModels
public ExternalSinkModels()
-
-
Method Details
-
getInstance
Deprecated.Useinstance()instead. -
instance
-
isSinkNode
True if theexpressioncursoris specified as a sink with the givenkindin the CSV flow model.Accepts the legacy sink-kind names used before CodeQL standardized its threat-model taxonomy (see
DEPRECATED_KIND_ALIASES), so callers written against the older model keep matching. Prefer the current names.- Returns:
- If this is a sink of the given
kind.
-
instance()instead.