org.jetbrains.jet.codegen.inline
Class ParametersBuilder

java.lang.Object
  extended by org.jetbrains.jet.codegen.inline.ParametersBuilder

public class ParametersBuilder
extends java.lang.Object


Constructor Summary
ParametersBuilder()
           
 
Method Summary
 CapturedParamInfo addCapturedParam(CapturedParamDesc desc, java.lang.String newFieldName)
           
 CapturedParamInfo addCapturedParam(CapturedParamInfo original, java.lang.String newFieldName)
           
 CapturedParamInfo addCapturedParam(CapturedParamOwner containingLambda, java.lang.String fieldName, org.jetbrains.org.objectweb.asm.Type type, boolean skipped, org.jetbrains.jet.codegen.inline.ParameterInfo original)
           
 CapturedParamInfo addCapturedParamCopy(CapturedParamInfo copyFrom)
           
 org.jetbrains.jet.codegen.inline.ParameterInfo addNextParameter(org.jetbrains.org.objectweb.asm.Type type, boolean skipped, StackValue remapValue)
           
 org.jetbrains.jet.codegen.inline.ParameterInfo addThis(org.jetbrains.org.objectweb.asm.Type type, boolean skipped)
           
 Parameters buildParameters()
           
 int getNextValueParameterIndex()
           
 java.util.List<org.jetbrains.jet.codegen.inline.ParameterInfo> listAllParams()
           
 java.util.List<CapturedParamInfo> listCaptured()
           
 java.util.List<org.jetbrains.jet.codegen.inline.ParameterInfo> listNotCaptured()
           
static ParametersBuilder newBuilder()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParametersBuilder

public ParametersBuilder()
Method Detail

newBuilder

@NotNull
public static ParametersBuilder newBuilder()

addThis

@NotNull
public org.jetbrains.jet.codegen.inline.ParameterInfo addThis(@NotNull
                                                                      org.jetbrains.org.objectweb.asm.Type type,
                                                                      boolean skipped)

addNextParameter

@NotNull
public org.jetbrains.jet.codegen.inline.ParameterInfo addNextParameter(@NotNull
                                                                               org.jetbrains.org.objectweb.asm.Type type,
                                                                               boolean skipped,
                                                                               @Nullable
                                                                               StackValue remapValue)

addCapturedParam

@NotNull
public CapturedParamInfo addCapturedParam(@NotNull
                                                  CapturedParamInfo original,
                                                  @NotNull
                                                  java.lang.String newFieldName)

addCapturedParam

@NotNull
public CapturedParamInfo addCapturedParam(@NotNull
                                                  CapturedParamDesc desc,
                                                  @NotNull
                                                  java.lang.String newFieldName)

addCapturedParamCopy

@NotNull
public CapturedParamInfo addCapturedParamCopy(@NotNull
                                                      CapturedParamInfo copyFrom)

addCapturedParam

@NotNull
public CapturedParamInfo addCapturedParam(@NotNull
                                                  CapturedParamOwner containingLambda,
                                                  @NotNull
                                                  java.lang.String fieldName,
                                                  @NotNull
                                                  org.jetbrains.org.objectweb.asm.Type type,
                                                  boolean skipped,
                                                  @Nullable
                                                  org.jetbrains.jet.codegen.inline.ParameterInfo original)

listNotCaptured

@NotNull
public java.util.List<org.jetbrains.jet.codegen.inline.ParameterInfo> listNotCaptured()

listCaptured

@NotNull
public java.util.List<CapturedParamInfo> listCaptured()

listAllParams

@NotNull
public java.util.List<org.jetbrains.jet.codegen.inline.ParameterInfo> listAllParams()

buildParameters

public Parameters buildParameters()

getNextValueParameterIndex

public int getNextValueParameterIndex()