private boolean isNextCharacterEscapedQuote(String nextLine,boolean inQuotes,int i){
  return inQuotes && nextLine.length() > (i + 1) && nextLine.charAt(i + 1) == quotechar;
}

private boolean isNextCharacterEscapedQuote ( String nextLine , boolean inQuotes , int i ) { return inQuotes && nextLine . length ( ) > ( i + 1 ) && nextLine . charAt ( i + 1 ) == quotechar ; }
precondition : the current character is a quote or an escape
