org.jetbrains.kotlin.codegen.context
Class ClosureContext

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.context.CodegenContext<T>
      extended by org.jetbrains.kotlin.codegen.context.FieldOwnerContext<ClassDescriptor>
          extended by org.jetbrains.kotlin.codegen.context.ClassContext
              extended by org.jetbrains.kotlin.codegen.context.ClosureContext

public class ClosureContext
extends ClassContext


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.codegen.context.CodegenContext
closure
 
Constructor Summary
ClosureContext(KotlinTypeMapper typeMapper, FunctionDescriptor functionDescriptor, CodegenContext parentContext, LocalLookup localLookup)
           
ClosureContext(KotlinTypeMapper typeMapper, FunctionDescriptor functionDescriptor, CodegenContext parentContext, LocalLookup localLookup, FunctionDescriptor originalSuspendLambdaDescriptor)
           
 
Method Summary
 FunctionDescriptor getFunctionDescriptor()
           
 FunctionDescriptor getOriginalSuspendLambdaDescriptor()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.kotlin.codegen.context.ClassContext
computeOuterExpression, getCompanionObjectContext
 
Methods inherited from class org.jetbrains.kotlin.codegen.context.FieldOwnerContext
getFieldName
 
Methods inherited from class org.jetbrains.kotlin.codegen.context.CodegenContext
accessibleDescriptor, findChildContext, findParentContextWithDescriptor, getAccessor, getAccessorForSuperCallIfNeeded, getAccessors, getCallableDescriptorWithReceiver, getClassOrPackageParentContext, getContextDescriptor, getContextKind, getEnclosingClass, getFirstCrossInlineOrNonInlineContext, getOuterExpression, getParentContext, getState, getThisDescriptor, hasThisDescriptor, intoAnonymousClass, intoClass, intoClosure, intoConstructor, intoCoroutineClosure, intoDefaultImplsClass, intoFunction, intoFunction, intoInlinedLambda, intoMultifileClass, intoMultifileClassPart, intoPackagePart, intoScript, isInlineMethodContext, lookupInContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClosureContext

public ClosureContext(@NotNull
                      KotlinTypeMapper typeMapper,
                      @NotNull
                      FunctionDescriptor functionDescriptor,
                      @Nullable
                      CodegenContext parentContext,
                      @NotNull
                      LocalLookup localLookup,
                      @Nullable
                      FunctionDescriptor originalSuspendLambdaDescriptor)

ClosureContext

public ClosureContext(@NotNull
                      KotlinTypeMapper typeMapper,
                      @NotNull
                      FunctionDescriptor functionDescriptor,
                      @Nullable
                      CodegenContext parentContext,
                      @NotNull
                      LocalLookup localLookup)
Method Detail

getFunctionDescriptor

@NotNull
public FunctionDescriptor getFunctionDescriptor()

toString

public java.lang.String toString()
Overrides:
toString in class ClassContext

getOriginalSuspendLambdaDescriptor

@Nullable
public FunctionDescriptor getOriginalSuspendLambdaDescriptor()