Package com.strobel.compilerservices
Class Closure
- java.lang.Object
-
- com.strobel.compilerservices.Closure
-
public final class Closure extends java.lang.Object
Represents the runtime state of a dynamically generated method.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.Object[]
constants
Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method.java.lang.Object[]
locals
Represents the hoisted local variables from the parent context.
-
Constructor Summary
Constructors Constructor Description Closure(java.lang.Object[] constants, java.lang.Object[] locals)
Creates an object to hold state of a dynamically generated method.
-
-
-
Field Detail
-
constants
public final java.lang.Object[] constants
Represents the non-trivial constants and locally executable expressions that are referenced by a dynamically generated method.
-
locals
public final java.lang.Object[] locals
Represents the hoisted local variables from the parent context.
-
-