public class ClosureCodegen extends GenerationStateAware
statetypeMapperbindingTracebindingContext| Constructor and Description |
|---|
ClosureCodegen(GenerationState state,
com.intellij.psi.PsiElement fun,
FunctionDescriptor funDescriptor,
ClassDescriptor samInterface,
JvmClassName closureSuperClass,
CodegenContext context,
LocalLookup localLookup,
FunctionGenerationStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<FieldInfo> |
calculateConstructorParameters(JetTypeMapper typeMapper,
CalculatedClosure closure,
org.jetbrains.asm4.Type ownerType) |
void |
gen() |
StackValue |
putInstanceOnStack(org.jetbrains.asm4.commons.InstructionAdapter v,
ExpressionCodegen codegen) |
getStategetTypeMappergetBindingTracegetBindingContextpublic ClosureCodegen(@NotNull GenerationState state, @NotNull com.intellij.psi.PsiElement fun, @NotNull FunctionDescriptor funDescriptor, @Nullable ClassDescriptor samInterface, @NotNull JvmClassName closureSuperClass, @NotNull CodegenContext context, @NotNull LocalLookup localLookup, @NotNull FunctionGenerationStrategy strategy)
public void gen()
@NotNull public StackValue putInstanceOnStack(@NotNull org.jetbrains.asm4.commons.InstructionAdapter v, @NotNull ExpressionCodegen codegen)
@NotNull public static java.util.List<FieldInfo> calculateConstructorParameters(@NotNull JetTypeMapper typeMapper, @NotNull CalculatedClosure closure, @NotNull org.jetbrains.asm4.Type ownerType)