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

DocTrees should provide getCharacters(EntityTree)

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: tools
    • Labels:
      None

      Description

      com.sun.source.doctree.EntityTree provides a representation of an entity found in a doc comment, but does not provide any way to get the corresponding characters represented by the entity.

      We should add a method to the DocTrees utility class to access the characters, if the entity is valid, or null if not.

          String getCharacters(EntityTree tree)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: