public abstract static class FunctionGenerationStrategy.CodegenBased<T extends CallableDescriptor> extends FunctionGenerationStrategy
FunctionGenerationStrategy.CodegenBased<T extends CallableDescriptor>, FunctionGenerationStrategy.FunctionDefault| Modifier and Type | Field and Description |
|---|---|
protected T |
callableDescriptor |
protected GenerationState |
state |
| Constructor and Description |
|---|
FunctionGenerationStrategy.CodegenBased(GenerationState state,
T callableDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
doGenerateBody(ExpressionCodegen codegen,
JvmMethodSignature signature) |
void |
generateBody(org.jetbrains.asm4.MethodVisitor mv,
JvmMethodSignature signature,
MethodContext context) |
void |
generateLocalVarNames(ExpressionCodegen codegen) |
ExpressionCodegen |
initializeExpressionCodegen(JvmMethodSignature signature,
MethodContext context,
org.jetbrains.asm4.MethodVisitor mv,
org.jetbrains.asm4.Type returnType) |
addLocalVariableName, createFrameMap, getFrameMap, getLocalVariableNamesprotected final GenerationState state
protected final T extends CallableDescriptor callableDescriptor
public FunctionGenerationStrategy.CodegenBased(@NotNull GenerationState state, T callableDescriptor)
public void generateBody(@NotNull org.jetbrains.asm4.MethodVisitor mv, @NotNull JvmMethodSignature signature, @NotNull MethodContext context)
generateBody in class FunctionGenerationStrategypublic abstract void doGenerateBody(@NotNull ExpressionCodegen codegen, @NotNull JvmMethodSignature signature)
@NotNull public ExpressionCodegen initializeExpressionCodegen(JvmMethodSignature signature, MethodContext context, org.jetbrains.asm4.MethodVisitor mv, org.jetbrains.asm4.Type returnType)
public void generateLocalVarNames(@NotNull ExpressionCodegen codegen)