InstructionTransfer (PsiElement exitedStatement, PsiElement blockToFlush) { List<VariableDescriptor> varsToFlush = ContainerUtil.map(PsiTreeUtil.findChildrenOfType(blockToFlush, PsiVariable.class), PlainDescriptor::new); return new InstructionTransfer(getEndOffset(exitedStatement), varsToFlush); }