Facilitates matching ProperTypeArguments that define an upper type bound. E.g.,
a type bound which uses a CovarianceIndicator (? extends) such as in
List<? extends Number>.
Example:
val scts : SimpleClassTypeSignature = ...
scts.typeArguments.head match {
case UpperTypeBound(objectType) => ...
case _ => ...
}
Facilitates matching ProperTypeArguments that define an upper type bound. E.g., a type bound which uses a CovarianceIndicator (
? extends
) such as inList<? extends Number>
.For matching signatures see Signature.