@NotNull
  public static List<Instruction> buildInstructions(@NotNull ControlFlowBuilder builder,
                                                    @NotNull List<? extends PyTypeAssertionEvaluator.Assertion> assertions) {
    final List<Instruction> result = new ArrayList<>();
    for (PyTypeAssertionEvaluator.Assertion def : assertions) {
      final PyReferenceExpression e = def.getElement();
      final QualifiedName qname = e.asQualifiedName();
      final String name = qname != null ? qname.toString() : e.getName();
      result.add(ReadWriteInstruction.assertType(builder, e, name, def.getTypeEvalFunction()));
    }
    return result;
  }
@NotNull
  public static List<Instruction> buildInstructions(@NotNull ControlFlowBuilder builder,
                                                    @NotNull List<? extends PyTypeAssertionEvaluator.Assertion> assertions)