if (current == OPENING_BRACKET) {
cursor.updatePos(pos + 1);
} else {
return createMailbox(null, null, openingText, null);
}
DomainList domainList = parseRoute(buf, cursor, CLOSING_BRACKET_ONLY);
String localPart = this.parser.parseValue(buf, cursor, AT_AND_CLOSING_BRACKET);
if (cursor.atEnd()) {
return createMailbox(openingText, domainList, localPart, null);
}
pos = cursor.getPos();