public final class MutableClosure extends java.lang.Object implements CalculatedClosure
| Modifier and Type | Method and Description |
|---|---|
void |
captureVariable(EnclosedValueDescriptor value) |
ClassifierDescriptor |
getCaptureReceiver() |
ClassDescriptor |
getCaptureThis() |
java.util.Map<DeclarationDescriptor,EnclosedValueDescriptor> |
getCaptureVariables() |
ClassDescriptor |
getEnclosingClass() |
CallableDescriptor |
getEnclosingReceiverDescriptor() |
java.util.List<com.intellij.openapi.util.Pair<java.lang.String,org.jetbrains.asm4.Type>> |
getRecordedFields() |
JetDelegatorToSuperCall |
getSuperCall() |
void |
recordField(java.lang.String name,
org.jetbrains.asm4.Type type) |
void |
setCaptureReceiver() |
void |
setCaptureThis() |
@Nullable public ClassDescriptor getEnclosingClass()
getEnclosingClass in interface CalculatedClosurepublic JetDelegatorToSuperCall getSuperCall()
getSuperCall in interface CalculatedClosurepublic ClassDescriptor getCaptureThis()
getCaptureThis in interface CalculatedClosurepublic void setCaptureThis()
public ClassifierDescriptor getCaptureReceiver()
getCaptureReceiver in interface CalculatedClosurepublic void setCaptureReceiver()
@NotNull public java.util.Map<DeclarationDescriptor,EnclosedValueDescriptor> getCaptureVariables()
getCaptureVariables in interface CalculatedClosure@NotNull public java.util.List<com.intellij.openapi.util.Pair<java.lang.String,org.jetbrains.asm4.Type>> getRecordedFields()
getRecordedFields in interface CalculatedClosurepublic void recordField(java.lang.String name, org.jetbrains.asm4.Type type)
public void captureVariable(EnclosedValueDescriptor value)
public CallableDescriptor getEnclosingReceiverDescriptor()