make most fields final in `JavacTrees`

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: tools
    • b23

      `JavacTrees` has this interesting comment:

          // in a world of a single context per compilation, these would all be final

      For a long time now, it has been the case of a single context per compilation. The `updateContext` method is no longer used.

      We can refactor the `init` method and make the fields final.

            Assignee:
            Jonathan Gibbons
            Reporter:
            Jonathan Gibbons
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: