org.jetbrains.jet.codegen
Class FunctionTypesUtil

java.lang.Object
  extended by org.jetbrains.jet.codegen.FunctionTypesUtil

public class FunctionTypesUtil
extends java.lang.Object


Method Summary
static ClassDescriptor functionTypeToImpl(JetType functionType)
           
static org.jetbrains.asm4.Type getFunctionImplType(FunctionDescriptor descriptor)
           
static org.jetbrains.asm4.Type getFunctionTraitClassName(FunctionDescriptor descriptor)
           
static JetType getSuperTypeForClosure(FunctionDescriptor descriptor, boolean kFunction)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

functionTypeToImpl

@Nullable
public static ClassDescriptor functionTypeToImpl(@NotNull
                                                          JetType functionType)

getSuperTypeForClosure

@NotNull
public static JetType getSuperTypeForClosure(@NotNull
                                                     FunctionDescriptor descriptor,
                                                     boolean kFunction)

getFunctionTraitClassName

@NotNull
public static org.jetbrains.asm4.Type getFunctionTraitClassName(@NotNull
                                                                        FunctionDescriptor descriptor)

getFunctionImplType

@NotNull
public static org.jetbrains.asm4.Type getFunctionImplType(@NotNull
                                                                  FunctionDescriptor descriptor)