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

Merge AnnotationTypeWriter[Impl] into ClassWriter[Impl]

    XMLWordPrintable

Details

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

    Description

      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].

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: