Packages

c

scala.tools.nsc.backend.jvm.opt.CallGraph

ClosureInstantiation

final case class ClosureInstantiation(lambdaMetaFactoryCall: LambdaMetaFactoryCall, ownerMethod: MethodNode, ownerClass: ClassBType, capturedArgInfos: IntMap[ArgInfo]) extends Product with Serializable

Metadata about a closure instantiation, stored in the call graph

lambdaMetaFactoryCall

the InvokeDynamic instruction

ownerMethod

the method where the closure is allocated

ownerClass

the class containing the above method

capturedArgInfos

information about captured arguments. Used for updating the call graph when re-writing a closure invocation to the body method.

Source
CallGraph.scala
Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClosureInstantiation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. 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 ClosureInstantiation(lambdaMetaFactoryCall: LambdaMetaFactoryCall, ownerMethod: MethodNode, ownerClass: ClassBType, capturedArgInfos: IntMap[ArgInfo])

    lambdaMetaFactoryCall

    the InvokeDynamic instruction

    ownerMethod

    the method where the closure is allocated

    ownerClass

    the class containing the above method

    capturedArgInfos

    information about captured arguments. Used for updating the call graph when re-writing a closure invocation to the body method.

Value Members

  1. val capturedArgInfos: IntMap[ArgInfo]
  2. val inlinedClones: Set[ClosureInstantiation]

    Contains closure instantiations that were created during inlining by cloning this instantiation.

  3. val lambdaMetaFactoryCall: LambdaMetaFactoryCall
  4. val ownerClass: ClassBType
  5. val ownerMethod: MethodNode
  6. def toString(): String
    Definition Classes
    ClosureInstantiation → AnyRef → Any