Skip to content

Commit 16766cc

Browse files
committed
WIP: Java implementation.
1 parent 3fca673 commit 16766cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

java/ql/src/utils/modelgenerator/internal/CaptureModels.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ module SummaryModelGeneratorInput implements SummaryModelGeneratorInputSig {
167167
Parameter asParameter(NodeExtended node) { result = node.asParameter() }
168168

169169
private J::Method getARelevantOverride(J::Method m) {
170-
result = m.getAnOverride() and
170+
result = m.getAnOverride().getSourceDeclaration() and
171171
relevant(result) and
172172
// Other exclusions for overrides.
173173
not m instanceof J::ToStringMethod

0 commit comments

Comments
 (0)