org.jetbrains.jet.codegen.inline
Class RegeneratedLambdaFieldRemapper

java.lang.Object
  extended by org.jetbrains.jet.codegen.inline.LambdaFieldRemapper
      extended by org.jetbrains.jet.codegen.inline.RegeneratedLambdaFieldRemapper

public class RegeneratedLambdaFieldRemapper
extends LambdaFieldRemapper


Constructor Summary
RegeneratedLambdaFieldRemapper(java.lang.String oldOwnerType, java.lang.String newOwnerType, Parameters parameters, java.util.Map<java.lang.String,LambdaInfo> recapturedLambdas)
           
 
Method Summary
 boolean canProcess(java.lang.String owner, java.lang.String currentLambdaType)
           
 org.jetbrains.asm4.tree.AbstractInsnNode doTransform(org.jetbrains.asm4.tree.MethodNode node, org.jetbrains.asm4.tree.FieldInsnNode fieldInsnNode, CapturedParamInfo capturedField)
           
 CapturedParamInfo findField(org.jetbrains.asm4.tree.FieldInsnNode fieldInsnNode, java.util.Collection<CapturedParamInfo> captured)
           
 java.util.List<CapturedParamInfo> markRecaptured(java.util.List<CapturedParamInfo> originalCaptured, LambdaInfo lambda)
           
 
Methods inherited from class org.jetbrains.jet.codegen.inline.LambdaFieldRemapper
getPreviousThis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegeneratedLambdaFieldRemapper

public RegeneratedLambdaFieldRemapper(java.lang.String oldOwnerType,
                                      java.lang.String newOwnerType,
                                      Parameters parameters,
                                      java.util.Map<java.lang.String,LambdaInfo> recapturedLambdas)
Method Detail

doTransform

public org.jetbrains.asm4.tree.AbstractInsnNode doTransform(org.jetbrains.asm4.tree.MethodNode node,
                                                            org.jetbrains.asm4.tree.FieldInsnNode fieldInsnNode,
                                                            CapturedParamInfo capturedField)
Overrides:
doTransform in class LambdaFieldRemapper

markRecaptured

public java.util.List<CapturedParamInfo> markRecaptured(java.util.List<CapturedParamInfo> originalCaptured,
                                                        LambdaInfo lambda)
Overrides:
markRecaptured in class LambdaFieldRemapper

canProcess

public boolean canProcess(java.lang.String owner,
                          java.lang.String currentLambdaType)
Overrides:
canProcess in class LambdaFieldRemapper

findField

@Nullable
public CapturedParamInfo findField(org.jetbrains.asm4.tree.FieldInsnNode fieldInsnNode,
                                            java.util.Collection<CapturedParamInfo> captured)
Overrides:
findField in class LambdaFieldRemapper