@Nullable
    private static Statement getStatementWithFirstAssignment(@NotNull Statement statement) {
      if (statement.getExprents() != null && !statement.getExprents().isEmpty()) {
        if (statement.getExprents().get(0) instanceof AssignmentExprent) {
          return statement;
        }
        else {
          return null;
        }
      }
      if (!statement.getStats().isEmpty()) {
        return getStatementWithFirstAssignment(statement.getStats().get(0));
      }
      return null;
    }
@Nullable
    private static Statement getStatementWithFirstAssignment(@NotNull Statement statement)