Skip to content

Commit 44949b6

Browse files
hvitvedmichaelnebel
authored andcommitted
Java: Add bindingset to returnNodeAsOutput
1 parent 908cc40 commit 44949b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java/ql/src/utils/model-generator/ModelGeneratorUtils.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ string parameterNodeAsInput(DataFlow::ParameterNode p) {
165165
result = "Argument[-1]" and p instanceof DataFlow::InstanceParameterNode
166166
}
167167

168+
bindingset[api]
168169
string returnNodeAsOutput(TargetAPI api, ReturnNodeExt node) {
169170
if node.getKind() instanceof ValueReturnKind
170171
then result = "ReturnValue"

0 commit comments

Comments
 (0)