org.jetbrains.jet.codegen.context
Class MethodContext
java.lang.Object
org.jetbrains.jet.codegen.context.CodegenContext
org.jetbrains.jet.codegen.context.MethodContext
- Direct Known Subclasses:
- ConstructorContext
public class MethodContext
- extends CodegenContext
Methods inherited from class org.jetbrains.jet.codegen.context.CodegenContext |
accessibleFunctionDescriptor, accessiblePropertyDescriptor, findChildContext, findParentContextWithDescriptor, getAccessor, getAccessor, getAccessors, getCallableDescriptorWithReceiver, getClassOrNamespaceDescriptor, getContextDescriptor, getContextKind, getEnclosingClass, getParentContext, getReceiverExpression, getThisDescriptor, hasThisDescriptor, initOuterExpression, intoAnonymousClass, intoClass, intoClosure, intoConstructor, intoFunction, intoNamespace, intoNamespaceFacade, intoScript, prepareFrame, recordSyntheticAccessorIfNeeded, recordSyntheticAccessorIfNeeded, shouldAddChild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MethodContext
public MethodContext(@NotNull
FunctionDescriptor contextType,
@NotNull
OwnerKind contextKind,
@NotNull
CodegenContext parentContext)
MethodContext
protected MethodContext(@NotNull
FunctionDescriptor contextType,
@NotNull
OwnerKind contextKind,
@NotNull
CodegenContext parentContext,
@Nullable
MutableClosure closure)
lookupInContext
public StackValue lookupInContext(DeclarationDescriptor d,
@Nullable
StackValue result,
GenerationState state,
boolean ignoreNoOuter)
- Overrides:
lookupInContext
in class CodegenContext
isStatic
public boolean isStatic()
- Specified by:
isStatic
in class CodegenContext
getOuterExpression
public StackValue getOuterExpression(StackValue prefix,
boolean ignoreNoOuter)
- Overrides:
getOuterExpression
in class CodegenContext
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