mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
Clarify Wildcard.hasTypeBound() doc
This commit is contained in:
@@ -194,6 +194,12 @@ class TypeVariable extends BoundedType, @typevariable {
|
||||
* and the second wildcard has a lower bound of `Float`.
|
||||
*/
|
||||
class Wildcard extends BoundedType, @wildcard {
|
||||
/**
|
||||
* Holds if this wildcard is either unconstrained (i.e. `?`) or
|
||||
* has a type bound.
|
||||
*/
|
||||
override predicate hasTypeBound() { BoundedType.super.hasTypeBound() }
|
||||
|
||||
/**
|
||||
* Holds if this wildcard is either unconstrained (i.e. `?`) or
|
||||
* has an upper bound.
|
||||
|
||||
Reference in New Issue
Block a user