We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa651d2 commit 06fdaacCopy full SHA for 06fdaac
ql/ql/src/queries/performance/UnusedField.ql
@@ -27,7 +27,7 @@ where
27
c.getASuperType*() = clz and
28
implClz.getASuperType*() = c and
29
p = c.getDeclaration().getCharPred() and
30
- exists(FieldAccess access | access.getDeclaration() = field |
+ exists(FieldAccess access | access.getName() = field.getName() |
31
access.getEnclosingPredicate() = p
32
)
33
) and
0 commit comments