From 91050348db0473a916125f65200520ad890bd99e Mon Sep 17 00:00:00 2001 From: Owen Mansel-Chan Date: Wed, 30 Nov 2022 10:53:54 +0000 Subject: [PATCH] Use `ArgumentPosition` instead of `int` This matches what all of the other languages do. --- .../code/java/dataflow/internal/FlowSummaryImplSpecific.qll | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll b/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll index b005bab3257..007105d3e95 100644 --- a/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll +++ b/java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImplSpecific.qll @@ -17,7 +17,7 @@ class SummarizedCallableBase = FlowSummary::SummarizedCallableBase; DataFlowCallable inject(SummarizedCallable c) { result.asSummarizedCallable() = c } /** Gets the parameter position of the instance parameter. */ -int instanceParameterPosition() { result = -1 } +ArgumentPosition instanceParameterPosition() { result = -1 } /** Gets the synthesized summary data-flow node for the given values. */ Node summaryNode(SummarizedCallable c, SummaryNodeState state) { result = getSummaryNode(c, state) }