protected boolean startsWithReferenceAnchor(TextLine line) {
    if (line == null) {
      return false;
    }
    String text = line.getText();
    if (text == null) {
      return false;
    }
    return REFERENCE_ANCHOR.matcher(text).find();
  }
protected boolean startsWithReferenceAnchor(TextLine line) {
    if (line == null) {
      return false;
    }
    String text = line.getText();
    if (text == null) {
      return false;
    }
    return REFERENCE_ANCHOR.matcher(text).find();
  }
protected boolean startswithreferenceanchor(textline line) { if (line == null) { return false; } string text = line.gettext(); if (text == null) { return false; } return reference_anchor.matcher(text).find(); }