org.jetbrains.jet.codegen.binding
Class MutableClosure

java.lang.Object
  extended by org.jetbrains.jet.codegen.binding.MutableClosure
All Implemented Interfaces:
CalculatedClosure

public final class MutableClosure
extends java.lang.Object
implements CalculatedClosure


Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEnclosingClass

@Nullable
public ClassDescriptor getEnclosingClass()
Specified by:
getEnclosingClass in interface CalculatedClosure

getSuperCall

public JetDelegatorToSuperCall getSuperCall()
Specified by:
getSuperCall in interface CalculatedClosure

getCaptureThis

public ClassDescriptor getCaptureThis()
Specified by:
getCaptureThis in interface CalculatedClosure

setCaptureThis

public void setCaptureThis()

getCaptureReceiver

public ClassifierDescriptor getCaptureReceiver()
Specified by:
getCaptureReceiver 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.asm4.Type>> getRecordedFields()
Specified by:
getRecordedFields in interface CalculatedClosure

recordField

public void recordField(java.lang.String name,
                        org.jetbrains.asm4.Type type)

captureVariable

public void captureVariable(EnclosedValueDescriptor value)

getEnclosingReceiverDescriptor

public CallableDescriptor getEnclosingReceiverDescriptor()