ClosureInstantiation

dotty.tools.backend.jvm.opt.ClosureInstantiation
final case class ClosureInstantiation(lambdaMetaFactoryCall: LambdaMetaFactoryCall, ownerMethod: MethodNode, ownerClass: ClassBType, capturedArgInfos: IntMap[ArgInfo])

Metadata about a closure instantiation, stored in the call graph

Value parameters

capturedArgInfos

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

lambdaMetaFactoryCall

the InvokeDynamic instruction

ownerClass

the class containing the above method

ownerMethod

the method where the closure is allocated

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product