mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Java: Add bindingset to returnNodeAsOutput
This commit is contained in:
committed by
Michael Nebel
parent
908cc40c9f
commit
44949b6353
@@ -165,6 +165,7 @@ string parameterNodeAsInput(DataFlow::ParameterNode p) {
|
||||
result = "Argument[-1]" and p instanceof DataFlow::InstanceParameterNode
|
||||
}
|
||||
|
||||
bindingset[api]
|
||||
string returnNodeAsOutput(TargetAPI api, ReturnNodeExt node) {
|
||||
if node.getKind() instanceof ValueReturnKind
|
||||
then result = "ReturnValue"
|
||||
|
||||
Reference in New Issue
Block a user