REVIEW-3525: move common logic from field/method option element to AbstractOptionElement
REVIEW-3524: start moving more stuff into NotationParser.