Packages

c

scala.tools.nsc.backend.jvm.opt.BoxUnbox

PrimitiveUnboxingGetter

case class PrimitiveUnboxingGetter(consumer: MethodInsnNode, unboxedPrimitive: Type) extends BoxConsumer with Product with Serializable

A getter that unboxes the returned value, e.g., Tuple2._1$mcI$sp

Source
BoxUnbox.scala
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, BoxConsumer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrimitiveUnboxingGetter
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. BoxConsumer
  7. AnyRef
  8. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PrimitiveUnboxingGetter(consumer: MethodInsnNode, unboxedPrimitive: Type)

Value Members

  1. def allInsns: Set[AbstractInsnNode]
    Definition Classes
    BoxConsumer
  2. def boxProducers(prodCons: (backendUtils)#ProdConsAnalyzer): Set[AbstractInsnNode]

    The initial producers of the box value consumed by this box consumer

    The initial producers of the box value consumed by this box consumer

    Definition Classes
    BoxConsumer
  3. val consumer: MethodInsnNode
    Definition Classes
    PrimitiveUnboxingGetterBoxConsumer
  4. def isEscaping: Boolean
    Definition Classes
    BoxConsumer
  5. def isWrite: Boolean
    Definition Classes
    BoxConsumer
  6. def postExtractionAdaptationOps(typeOfExtractedValue: Type): List[AbstractInsnNode]

    If this box consumer extracts a boxed value and applies a conversion, this method returns equivalent conversion operations.

    If this box consumer extracts a boxed value and applies a conversion, this method returns equivalent conversion operations. For example, invoking _1$mcI$sp on a non-specialized Tuple2 extracts the Integer value and unboxes it.

    Definition Classes
    BoxConsumer
  7. val unboxedPrimitive: Type