Add TypeKind.from to derive from TypeDescriptor.OfField

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: core-libs

      Such an API allows creating TypeKind from both Class and ClassDesc than having to call descriptorString() explicitly at every use site.

      See https://mail.openjdk.org/pipermail/classfile-api-dev/2023-March/000240.html for context.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: