org.jetbrains.kotlin.codegen.binding
Class MutableClosure
java.lang.Object
org.jetbrains.kotlin.codegen.binding.MutableClosure
- All Implemented Interfaces:
- CalculatedClosure
public final class MutableClosure
- extends java.lang.Object
- implements CalculatedClosure
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getEnclosingClass
@Nullable
public ClassDescriptor getEnclosingClass()
getCaptureThis
public ClassDescriptor getCaptureThis()
- Specified by:
getCaptureThis
in interface CalculatedClosure
setCaptureThis
public void setCaptureThis()
getCaptureReceiverType
public KotlinType getCaptureReceiverType()
- Specified by:
getCaptureReceiverType
in interface CalculatedClosure
setCaptureReceiver
public void setCaptureReceiver()
getCaptureVariables
@NotNull
public java.util.Map<DeclarationDescriptor,EnclosedValueDescriptor> getCaptureVariables()
- Specified by:
getCaptureVariables
in interface CalculatedClosure
getRecordedFields
@NotNull
public java.util.List<com.intellij.openapi.util.Pair<java.lang.String,org.jetbrains.org.objectweb.asm.Type>> getRecordedFields()
- Specified by:
getRecordedFields
in interface CalculatedClosure
recordField
public void recordField(java.lang.String name,
org.jetbrains.org.objectweb.asm.Type type)
captureVariable
public void captureVariable(EnclosedValueDescriptor value)
setCapturedParameterOffsetInConstructor
public void setCapturedParameterOffsetInConstructor(DeclarationDescriptor descriptor,
int offset)
getCapturedParameterOffsetInConstructor
public int getCapturedParameterOffsetInConstructor(DeclarationDescriptor descriptor)
getEnclosingReceiverDescriptor
@Nullable
public ReceiverParameterDescriptor getEnclosingReceiverDescriptor()