Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8237451

Merge AnnotationTypeWriter[Impl] into ClassWriter[Impl]

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 15
    • tools
    • None

      It ought to be possible to merge AnnotationTtypeWriter[Impl] into ClassWriter[Impl].

      ClassWriter[Impl] is already used to generate docs for enums, which are just a special kind of class, and so it ought to be possible to have it handle annotation types as well, in which the methods are treated as "annotation type elements", either "required" or "optional".

      If nothing else, AnnotationTypeWriter[Impl] could maybe be a subtype of ClassWriter[Imp].

            Unassigned Unassigned
            jjg Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: