Packages

o

org.opalj.br

LowerTypeBound

object LowerTypeBound

Facilitates matching ProperTypeArguments that define a lower type bound. E.g., a type bound which uses a ContravarianceIndicator (? super) such as in List<? super Number>.

Source
Signature.scala
Example:
  1. matches, e.g., List<? super Integer>

    val scts : SimpleClassTypeSignature = ...
    scts.typeArguments.head match {
        case LowerTypeBound(objectType) => ...
        case _ => ...
    }
See also

For matching signatures see Signature.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LowerTypeBound
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def unapply(pta: ProperTypeArgument): Option[ObjectType]