org.jetbrains.jet.codegen
Class FunctionCodegen

java.lang.Object
  extended by org.jetbrains.jet.codegen.binding.BindingContextAware
      extended by org.jetbrains.jet.codegen.binding.BindingTraceAware
          extended by org.jetbrains.jet.codegen.state.TypeMapperAware
              extended by org.jetbrains.jet.codegen.state.GenerationStateAware
                  extended by org.jetbrains.jet.codegen.ParentCodegenAwareImpl
                      extended by org.jetbrains.jet.codegen.FunctionCodegen
All Implemented Interfaces:
ParentCodegenAware

public class FunctionCodegen
extends ParentCodegenAwareImpl


Field Summary
 
Fields inherited from class org.jetbrains.jet.codegen.state.GenerationStateAware
state
 
Fields inherited from class org.jetbrains.jet.codegen.state.TypeMapperAware
typeMapper
 
Fields inherited from class org.jetbrains.jet.codegen.binding.BindingTraceAware
bindingTrace
 
Fields inherited from class org.jetbrains.jet.codegen.binding.BindingContextAware
bindingContext
 
Constructor Summary
FunctionCodegen(CodegenContext owner, ClassBuilder v, GenerationState state, MemberCodegen parentCodegen)
           
 
Method Summary
static void endVisit(org.jetbrains.asm4.MethodVisitor mv, java.lang.String description, com.intellij.psi.PsiElement method)
           
 void gen(JetNamedFunction function)
           
 void genDelegate(FunctionDescriptor functionDescriptor, ClassDescriptor toClass, StackValue field, JvmMethodSignature jvmDelegateMethodSignature, JvmMethodSignature jvmOverriddenMethodSignature)
           
 void genDelegate(FunctionDescriptor functionDescriptor, FunctionDescriptor overriddenDescriptor, StackValue field)
           
 void generateMethod(com.intellij.psi.PsiElement origin, JvmMethodSignature jvmSignature, FunctionDescriptor functionDescriptor, FunctionGenerationStrategy strategy)
           
 void generateMethod(com.intellij.psi.PsiElement origin, JvmMethodSignature jvmSignature, FunctionDescriptor functionDescriptor, MethodContext methodContext, FunctionGenerationStrategy strategy)
           
 
Methods inherited from class org.jetbrains.jet.codegen.ParentCodegenAwareImpl
getParentCodegen
 
Methods inherited from class org.jetbrains.jet.codegen.state.GenerationStateAware
getState
 
Methods inherited from class org.jetbrains.jet.codegen.state.TypeMapperAware
getTypeMapper
 
Methods inherited from class org.jetbrains.jet.codegen.binding.BindingTraceAware
getBindingTrace
 
Methods inherited from class org.jetbrains.jet.codegen.binding.BindingContextAware
getBindingContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FunctionCodegen

public FunctionCodegen(@NotNull
                       CodegenContext owner,
                       @NotNull
                       ClassBuilder v,
                       @NotNull
                       GenerationState state,
                       MemberCodegen parentCodegen)
Method Detail

gen

public void gen(@NotNull
                JetNamedFunction function)

generateMethod

public void generateMethod(@Nullable
                           com.intellij.psi.PsiElement origin,
                           @NotNull
                           JvmMethodSignature jvmSignature,
                           @NotNull
                           FunctionDescriptor functionDescriptor,
                           @NotNull
                           FunctionGenerationStrategy strategy)

generateMethod

public void generateMethod(@Nullable
                           com.intellij.psi.PsiElement origin,
                           @NotNull
                           JvmMethodSignature jvmSignature,
                           @NotNull
                           FunctionDescriptor functionDescriptor,
                           @NotNull
                           MethodContext methodContext,
                           @NotNull
                           FunctionGenerationStrategy strategy)

endVisit

public static void endVisit(org.jetbrains.asm4.MethodVisitor mv,
                            @Nullable
                            java.lang.String description,
                            @Nullable
                            com.intellij.psi.PsiElement method)

genDelegate

public void genDelegate(FunctionDescriptor functionDescriptor,
                        FunctionDescriptor overriddenDescriptor,
                        StackValue field)

genDelegate

public void genDelegate(FunctionDescriptor functionDescriptor,
                        ClassDescriptor toClass,
                        StackValue field,
                        JvmMethodSignature jvmDelegateMethodSignature,
                        JvmMethodSignature jvmOverriddenMethodSignature)