Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b11
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description

      Currently a TopLevel tree node has explicit members for the optional package name and any annos on it. A better impl would be to have a PackageDef node that bundles package name, doc comment and annos, and have PackageDef live in the List<JCTree> defs in the TopLevel. Some dancing would be required for interface compatibility in com.sun.source.tree.CompilationUnit, maybe using defauilt methods.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                pgovereau Paul Govereau (Inactive)
                Reporter:
                pgovereau Paul Govereau (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: