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

Capture AnnotationName

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 11.0.0
    • None
    • parser

      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.

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

              Created:
              Updated:
              Resolved: