Methods
Modifier and Type |
Method and Description |
FunctionDescriptor |
accessibleFunctionDescriptor(FunctionDescriptor fd) |
PropertyDescriptor |
accessiblePropertyDescriptor(PropertyDescriptor propertyDescriptor) |
CodegenContext |
findChildContext(DeclarationDescriptor child) |
CodegenContext |
findParentContextWithDescriptor(DeclarationDescriptor descriptor) |
DeclarationDescriptor |
getAccessor(DeclarationDescriptor descriptor) |
java.util.Map<DeclarationDescriptor,DeclarationDescriptor> |
getAccessors() |
CallableDescriptor |
getCallableDescriptorWithReceiver()
This method returns not null only if context descriptor corresponds to method or function which has receiver
|
DeclarationDescriptor |
getClassOrNamespaceDescriptor() |
T |
getContextDescriptor() |
OwnerKind |
getContextKind() |
ClassDescriptor |
getEnclosingClass() |
StackValue |
getOuterExpression(StackValue prefix,
boolean ignoreNoOuter) |
CodegenContext |
getParentContext() |
StackValue |
getReceiverExpression(JetTypeMapper typeMapper) |
ClassDescriptor |
getThisDescriptor() |
boolean |
hasThisDescriptor() |
protected void |
initOuterExpression(JetTypeMapper typeMapper,
ClassDescriptor classDescriptor) |
ClassContext |
intoAnonymousClass(ClassDescriptor descriptor,
ExpressionCodegen expressionCodegen) |
ClassContext |
intoClass(ClassDescriptor descriptor,
OwnerKind kind,
GenerationState state) |
CodegenContext |
intoClosure(FunctionDescriptor funDescriptor,
LocalLookup localLookup,
JetTypeMapper typeMapper) |
ConstructorContext |
intoConstructor(ConstructorDescriptor descriptor) |
MethodContext |
intoFunction(FunctionDescriptor descriptor) |
FieldOwnerContext |
intoNamespace(NamespaceDescriptor descriptor) |
FieldOwnerContext |
intoNamespacePart(java.lang.String delegateTo,
NamespaceDescriptor descriptor) |
CodegenContext |
intoScript(ScriptDescriptor script,
ClassDescriptor classDescriptor) |
abstract boolean |
isStatic() |
StackValue |
lookupInContext(DeclarationDescriptor d,
StackValue result,
GenerationState state,
boolean ignoreNoOuter) |
FrameMap |
prepareFrame(JetTypeMapper mapper) |
void |
recordSyntheticAccessorIfNeeded(FunctionDescriptor fd,
JetTypeMapper typeMapper) |
void |
recordSyntheticAccessorIfNeeded(PropertyDescriptor propertyDescriptor,
JetTypeMapper typeMapper) |
protected boolean |
shouldAddChild(CodegenContext child) |