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

Refactor Symbol kinds from small ints to an enum

XMLWordPrintable

    • b37
    • Not verified

        We have converted JCTree.tag and Type.tag from an int-as-enum to an enum,

        We should do the same for Symbol kinds. Note that symbol kinds are "bitset friendly small ints" which are combined together in select situations, so it will be necessary to examine the use site of kinds to determine whether an "int k" is Kind or a (Enum)Set<Kind>.

              emc Eric Mccorkle
              jjg Jonathan Gibbons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: