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 f477e09 commit 0e54b49Copy full SHA for 0e54b49
java/ql/src/semmle/code/java/Generics.qll
@@ -194,6 +194,12 @@ class TypeVariable extends BoundedType, @typevariable {
194
* and the second wildcard has a lower bound of `Float`.
195
*/
196
class Wildcard extends BoundedType, @wildcard {
197
+ /**
198
+ * Holds if this wildcard is either unconstrained (i.e. `?`) or
199
+ * has a type bound.
200
+ */
201
+ override predicate hasTypeBound() { BoundedType.super.hasTypeBound() }
202
+
203
/**
204
* Holds if this wildcard is either unconstrained (i.e. `?`) or
205
* has an upper bound.
0 commit comments