Clarify Wildcard.hasTypeBound() doc

This commit is contained in:
Marcono1234
2020-08-02 15:57:33 +02:00
parent f477e09190
commit 0e54b498b7

View File

@@ -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.