org.jetbrains.kotlin.codegen.context
Class ClassContext

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
Direct Known Subclasses:
AnonymousClassContext, ClosureContext

public class ClassContext
extends FieldOwnerContext<ClassDescriptor>


Field Summary
 
Fields inherited from class org.jetbrains.kotlin.codegen.context.CodegenContext
closure, STATIC
 
Constructor Summary
ClassContext(JetTypeMapper typeMapper, ClassDescriptor contextDescriptor, OwnerKind contextKind, CodegenContext parentContext, LocalLookup localLookup)
           
 
Method Summary
protected  StackValue.Field computeOuterExpression()
           
 CodegenContext getDefaultObjectContext()
           
 java.lang.String toString()
           
 
Methods inherited from class org.jetbrains.kotlin.codegen.context.FieldOwnerContext
getFieldName
 
Methods inherited from class org.jetbrains.kotlin.codegen.context.CodegenContext
accessibleFunctionDescriptor, accessiblePropertyDescriptor, findChildContext, findParentContextWithDescriptor, getAccessor, getAccessor, getAccessors, getCallableDescriptorWithReceiver, getClassOrPackageParentContext, getContextDescriptor, getContextKind, getEnclosingClass, getOuterExpression, getParentContext, getThisDescriptor, hasThisDescriptor, intoAnonymousClass, intoClass, intoClosure, intoConstructor, intoFunction, intoInlinedLambda, intoPackageFacade, intoPackagePart, intoScript, lookupInContext, recordSyntheticAccessorIfNeeded, recordSyntheticAccessorIfNeeded, shouldAddChild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassContext

public ClassContext(@NotNull
                    JetTypeMapper typeMapper,
                    @NotNull
                    ClassDescriptor contextDescriptor,
                    @NotNull
                    OwnerKind contextKind,
                    @Nullable
                    CodegenContext parentContext,
                    @Nullable
                    LocalLookup localLookup)
Method Detail

computeOuterExpression

@Nullable
protected StackValue.Field computeOuterExpression()
Overrides:
computeOuterExpression in class CodegenContext<ClassDescriptor>

getDefaultObjectContext

@Nullable
public CodegenContext getDefaultObjectContext()

toString

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