Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1510

Capture AnnotationName

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 11.0.0
    • parser

    Description

      We are currently relying on plain QName to hold RFC7952 annotations' name. Improve type safety by introducing AnnotationName, which follows the design of MountPointLabel. Update AnnotationStatement to operate on AnnotationName as the argument.

      Note that due to overlap, we should also provide an AbstractDeclaredStatement and AbstractStatementSupport subclass to generalize the logic of having a QName-wrapping argument. At the end of the day, AbstractQNameStatementSupport is an identity-based specialization of that.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: