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 CalculatedClosure
public JetDelegatorToSuperCall getSuperCall()
getSuperCall
in interface CalculatedClosure
public ClassDescriptor getCaptureThis()
getCaptureThis
in interface CalculatedClosure
public void setCaptureThis()
public ClassifierDescriptor getCaptureReceiver()
getCaptureReceiver
in interface CalculatedClosure
public 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 CalculatedClosure
public void recordField(java.lang.String name, org.jetbrains.asm4.Type type)
public void captureVariable(EnclosedValueDescriptor value)
public CallableDescriptor getEnclosingReceiverDescriptor()