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

Merge AnnotationTypeWriter[Impl] into ClassWriter[Impl]

    Details

    • Type: Enhancement
    • Status: New
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: 15
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
      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

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

                Dates

                • Created:
                  Updated: