code: int handleSqlIdentifierQuotes(String line, String openSqlIdentifier,
        String closeSqlIdentifier, BitSet sqlIdentifierQuotesBitSet,
        int startingPoint) {
      if (!openSqlIdentifier.regionMatches(0, line, startingPoint,
          openSqlIdentifier.length())) {
        return startingPoint;
      }
      int backslashCounter = 0;
      for (int i = startingPoint + openSqlIdentifier.length();
           i < line.length();
           i++) {
        if (line.charAt(i) == '\\') {
          backslashCounter++;
        } else if (closeSqlIdentifier.regionMatches(0, line, i,
            closeSqlIdentifier.length())) {
          if (backslashCounter % 2 == 0) {
            sqlIdentifierQuotesBitSet
                .set(startingPoint, i + closeSqlIdentifier.length());
            return i + closeSqlIdentifier.length() - 1;
          }
        } else {
          backslashCounter = 0;
        }
      }
      sqlIdentifierQuotesBitSet.set(startingPoint, line.length());
      return line.length() - 1;
    }
docs: The method marks quoted (with {@code sqlIdentifier}) string
  position based on input.
  ASSUMPTION: there is a {@code sqlIdentifier} quote starts since
  the specified position,
  i.e. sqlIdentifier.charAt(0) == line.charAt(startingPoint)
  
  @param line                        line where to handle
  sql identifier quoted string
  @param openSqlIdentifier           Start quote for SQL identifiers
  @param closeSqlIdentifier          End quote for SQL identifiers
  @param sqlIdentifierQuotesBitSet   BitSet to use for positions
  of sql identifiers quoted lines
  @param startingPoint               start point
  @return position of closing (non-escaped) sql identifier quote.
  
  <p>Example (for the case sql identifier quote is a double quote ("))
  "Quoted \" line quoted" "another\"'' quoted''\" line"
  
  <blockquote><code>handleSqlIdentifierQuotes(line, sqlIdentifier,
  sqlIdentifierQuotesBitSet, startingPoint);</code></blockquote>
  
  <p>should return the position of the sql identifier quote closing the first
  quoted string and mark sql identifier quoted line inside
  {@code sqlIdentifierQuotesBitSet}.