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
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClosureInstantiation
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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 lambdaMetaFactoryCall: LambdaMetaFactoryCall
  3. val ownerClass: ClassBType
  4. val ownerMethod: MethodNode
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def toString(): String
    Definition Classes
    ClosureInstantiation → AnyRef → Any