We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fff70da commit d291e0cCopy full SHA for d291e0c
java/ql/consistency-queries/typeParametersInScope.ql
@@ -36,5 +36,5 @@ TypeVariable getATypeVariableInScope(RefType type) {
36
37
from ClassOrInterface typeUser, TypeVariable outOfScope
38
where
39
- outOfScope = getAMentionedType(typeUser) and not outOfScope = getATypeVariableInScope(typeUser)
+ outOfScope = getATypeUsedInClass(typeUser) and not outOfScope = getATypeVariableInScope(typeUser)
40
select "Type " + typeUser + " uses out-of-scope type variable " + outOfScope
0 commit comments