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

clean up JavacAnnotatedConstruct

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • P3
    • Resolution: Fixed
    • 8
    • 8
    • tools
    • b75
    • 8
    • b113
    • Verified

    Description

      model/JavacAnnotatedConstruct needs to be cleaned up.

      - We need input validation on unpacking the the array for repeated annotations.

      - There is lots of code duplication

      - The functionality should be moved to preferably an abstract base type to Symbol and Type. If that introduced performance penalty in general the file can be refactored, most of the methods can be moved to Symbol or Type and a common interface JCAnnoConstruct can be introduced. In 9 we can then move the rest of this code into default methods in JCAnnoConstruct.

      Attachments

        Issue Links

          Activity

            People

              alundblad Andreas Lundblad (Inactive)
              jfranck Joel Borggrén-Franck (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: