org.jetbrains.kotlin.codegen.inline
Class CapturedParamInfo

java.lang.Object
  extended by org.jetbrains.kotlin.codegen.inline.CapturedParamInfo

public class CapturedParamInfo
extends java.lang.Object


Field Summary
protected  int declarationIndex
           
 CapturedParamDesc desc
           
protected  int index
           
 boolean isSkipped
           
 LambdaInfo lambda
           
static CapturedParamInfo STUB
           
 org.jetbrains.org.objectweb.asm.Type type
           
 
Constructor Summary
CapturedParamInfo(CapturedParamDesc desc, boolean skipped, int index, int remapIndex)
           
CapturedParamInfo(CapturedParamDesc desc, java.lang.String newFieldName, boolean skipped, int index, int remapIndex)
           
CapturedParamInfo(CapturedParamDesc desc, java.lang.String newFieldName, boolean skipped, int index, StackValue remapIndex)
           
 
Method Summary
 CapturedParamInfo clone(int newIndex, StackValue newRamapIndex)
           
 java.lang.String getContainingLambdaName()
           
 int getIndex()
           
 LambdaInfo getLambda()
           
 java.lang.String getNewFieldName()
           
 java.lang.String getOriginalFieldName()
           
 StackValue getRemapValue()
           
 org.jetbrains.org.objectweb.asm.Type getType()
           
 boolean isCaptured()
           
 boolean isRemapped()
           
 boolean isSkipInConstructor()
           
 boolean isSkipped()
           
 boolean isSkippedOrRemapped()
           
 CapturedParamInfo newIndex(int newIndex)
           
 void setCaptured(boolean isCaptured)
           
 org.jetbrains.kotlin.codegen.inline.ParameterInfo setLambda(LambdaInfo lambda)
           
 org.jetbrains.kotlin.codegen.inline.ParameterInfo setRemapValue(StackValue remapValue)
           
 void setSkipInConstructor(boolean skipInConstructor)
           
 org.jetbrains.kotlin.codegen.inline.ParameterInfo setSkipped(boolean skipped)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STUB

public static final CapturedParamInfo STUB

desc

public final CapturedParamDesc desc

index

protected final int index

declarationIndex

protected final int declarationIndex

type

public final org.jetbrains.org.objectweb.asm.Type type

isSkipped

public boolean isSkipped

lambda

public LambdaInfo lambda
Constructor Detail

CapturedParamInfo

public CapturedParamInfo(@NotNull
                         CapturedParamDesc desc,
                         boolean skipped,
                         int index,
                         int remapIndex)

CapturedParamInfo

public CapturedParamInfo(@NotNull
                         CapturedParamDesc desc,
                         @NotNull
                         java.lang.String newFieldName,
                         boolean skipped,
                         int index,
                         int remapIndex)

CapturedParamInfo

public CapturedParamInfo(@NotNull
                         CapturedParamDesc desc,
                         @NotNull
                         java.lang.String newFieldName,
                         boolean skipped,
                         int index,
                         StackValue remapIndex)
Method Detail

getNewFieldName

@NotNull
public java.lang.String getNewFieldName()

getOriginalFieldName

@NotNull
public java.lang.String getOriginalFieldName()

newIndex

@NotNull
public CapturedParamInfo newIndex(int newIndex)

clone

@NotNull
public CapturedParamInfo clone(int newIndex,
                                       StackValue newRamapIndex)

getContainingLambdaName

@NotNull
public java.lang.String getContainingLambdaName()

isSkipInConstructor

public boolean isSkipInConstructor()

setSkipInConstructor

public void setSkipInConstructor(boolean skipInConstructor)

isSkippedOrRemapped

public boolean isSkippedOrRemapped()

isRemapped

public boolean isRemapped()

getRemapValue

@Nullable
public StackValue getRemapValue()

getIndex

public int getIndex()

isSkipped

public boolean isSkipped()

getType

@NotNull
public org.jetbrains.org.objectweb.asm.Type getType()

getLambda

@Nullable
public LambdaInfo getLambda()

setLambda

public org.jetbrains.kotlin.codegen.inline.ParameterInfo setLambda(@Nullable
                                                                   LambdaInfo lambda)

setRemapValue

public org.jetbrains.kotlin.codegen.inline.ParameterInfo setRemapValue(StackValue remapValue)

isCaptured

public boolean isCaptured()

setSkipped

public org.jetbrains.kotlin.codegen.inline.ParameterInfo setSkipped(boolean skipped)

setCaptured

public void setCaptured(boolean isCaptured)