code: protected String removeBracketsAndQuotes( String text,
                                                Position position ) {
          return removeBracketsAndQuotes(text, true, position);
      }
docs: Remove all leading and trailing single-quotes, double-quotes, or square brackets from the supplied text. If multiple,
  properly-paired quotes or brackets are found, they will all be removed.
  
  @param text the input text; may not be null
  @param position the position of the text; may not be null
  @return the text without leading and trailing brackets and quotes, or <code>text</code> if there were no square brackets or
  quotes