org.jetbrains.jet.codegen.context
Class MethodContext
java.lang.Object
org.jetbrains.jet.codegen.context.CodegenContext<CallableMemberDescriptor>
org.jetbrains.jet.codegen.context.MethodContext
- Direct Known Subclasses:
- ConstructorContext
public class MethodContext
- extends CodegenContext<CallableMemberDescriptor>
Methods inherited from class org.jetbrains.jet.codegen.context.CodegenContext |
accessibleFunctionDescriptor, accessiblePropertyDescriptor, findChildContext, findParentContextWithDescriptor, getAccessor, getAccessor, getAccessors, getCallableDescriptorWithReceiver, getClassOrPackageDescriptor, getContextDescriptor, getContextKind, getEnclosingClass, getParentContext, getReceiverExpression, getThisDescriptor, hasThisDescriptor, initOuterExpression, intoAnonymousClass, intoClass, intoClosure, intoConstructor, intoFunction, intoInlinedLambda, intoPackageFacade, intoPackagePart, intoScript, prepareFrame, recordSyntheticAccessorIfNeeded, recordSyntheticAccessorIfNeeded, shouldAddChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodContext
protected MethodContext(@NotNull
FunctionDescriptor contextDescriptor,
@NotNull
OwnerKind contextKind,
@NotNull
CodegenContext parentContext,
@Nullable
MutableClosure closure,
boolean isInliningLambda)
lookupInContext
public StackValue lookupInContext(DeclarationDescriptor d,
@Nullable
StackValue result,
GenerationState state,
boolean ignoreNoOuter)
- Overrides:
lookupInContext
in class CodegenContext<CallableMemberDescriptor>
isStatic
public boolean isStatic()
- Specified by:
isStatic
in class CodegenContext<CallableMemberDescriptor>
getOuterExpression
public StackValue getOuterExpression(StackValue prefix,
boolean ignoreNoOuter)
- Overrides:
getOuterExpression
in class CodegenContext<CallableMemberDescriptor>
getMethodStartLabel
@Nullable
public org.jetbrains.asm4.Label getMethodStartLabel()
setMethodStartLabel
public void setMethodStartLabel(@NotNull
org.jetbrains.asm4.Label methodStartLabel)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isInlineFunction
public boolean isInlineFunction()
isInliningLambda
public boolean isInliningLambda()
isSpecialStackValue
public boolean isSpecialStackValue(StackValue stackValue)