diff --git a/java/ql/src/semmle/code/java/Collections.qll b/java/ql/src/semmle/code/java/Collections.qll index 9569dfc4c2c..d557d6281de 100644 --- a/java/ql/src/semmle/code/java/Collections.qll +++ b/java/ql/src/semmle/code/java/Collections.qll @@ -35,6 +35,7 @@ predicate instantiates(RefType t, GenericType g, int i, RefType arg) { * - a class `MyIntMap extends HashMap` instantiates `Map` (among others) * with the `0`-th type parameter being `Integer` and the `1`-th type parameter being `V`. */ +pragma[nomagic] predicate indirectlyInstantiates(RefType t, GenericType g, int i, RefType arg) { instantiates(t, g, i, arg) or