org.jetbrains.jet.codegen.inline
Class LambdaInfo

java.lang.Object
  extended by org.jetbrains.jet.codegen.inline.LambdaInfo
All Implemented Interfaces:
CapturedParamOwner

public class LambdaInfo
extends java.lang.Object
implements CapturedParamOwner


Field Summary
 CalculatedClosure closure
           
 JetFunctionLiteralExpression expression
           
 
Method Summary
 Parameters addAllParameters()
           
 CapturedParamInfo getCapturedParamInfo(EnclosedValueDescriptor descriptor, int index)
           
 java.util.List<CapturedParamInfo> getCapturedVars()
           
 int getCapturedVarsSize()
           
 ClassDescriptor getClassDescriptor()
           
 FunctionDescriptor getFunctionDescriptor()
           
 JetFunctionLiteral getFunctionLiteral()
           
 org.jetbrains.org.objectweb.asm.Type getLambdaClassType()
           
 org.jetbrains.org.objectweb.asm.tree.MethodNode getNode()
           
 java.util.List<org.jetbrains.org.objectweb.asm.Type> getParamsWithoutCapturedValOrVar()
           
 org.jetbrains.org.objectweb.asm.Type getType()
           
 void setNode(org.jetbrains.org.objectweb.asm.tree.MethodNode node)
           
 void setParamOffset(int paramOffset)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expression

public final JetFunctionLiteralExpression expression

closure

public final CalculatedClosure closure
Method Detail

getNode

public org.jetbrains.org.objectweb.asm.tree.MethodNode getNode()

setNode

public void setNode(org.jetbrains.org.objectweb.asm.tree.MethodNode node)

getFunctionDescriptor

public FunctionDescriptor getFunctionDescriptor()

getFunctionLiteral

public JetFunctionLiteral getFunctionLiteral()

getClassDescriptor

public ClassDescriptor getClassDescriptor()

getLambdaClassType

public org.jetbrains.org.objectweb.asm.Type getLambdaClassType()

getCapturedVars

public java.util.List<CapturedParamInfo> getCapturedVars()

getCapturedParamInfo

@NotNull
public CapturedParamInfo getCapturedParamInfo(@NotNull
                                                      EnclosedValueDescriptor descriptor,
                                                      int index)

setParamOffset

public void setParamOffset(int paramOffset)

getParamsWithoutCapturedValOrVar

public java.util.List<org.jetbrains.org.objectweb.asm.Type> getParamsWithoutCapturedValOrVar()

addAllParameters

public Parameters addAllParameters()

getCapturedVarsSize

public int getCapturedVarsSize()

getType

public org.jetbrains.org.objectweb.asm.Type getType()
Specified by:
getType in interface CapturedParamOwner