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

DocTrees should provide getCharacters(EntityTree)

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 16
    • tools
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: