boolean (final PsiVariable variable) { final List<Instruction> instructions = myControlFlow.getInstructions(); for (int i = myFlowStart; i < myFlowEnd; i++) { Instruction instruction = instructions.get(i); if (instruction instanceof WriteVariableInstruction && variable.equals(((WriteVariableInstruction)instruction).variable)) { return true; } } return false; }