AssignmentExprent (@NotNull Exprent exprent, @NotNull VarExprent varExprent, @NotNull Statement statement, @NotNull List<TempVarAssignmentItem> tempVarAssignments) { if (exprent.type != Exprent.EXPRENT_ASSIGNMENT) return null; AssignmentExprent assignment = (AssignmentExprent)exprent; if (!varExprent.isDefinition() && varExprent.equals(assignment.getLeft())) { tempVarAssignments.add(new TempVarAssignmentItem(varExprent, statement)); return assignment; } return null; }