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

Add clarifying overrides of Element.asType to more specific subinterfaces

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 13
    • 8, 9, 13
    • core-libs
    • None

    Backports

      Description

        The Element.asType methods gives a general description of its semantics. It would be helpful if the Element subinterfaces, PackageElement, VariableElement, etc. had type-specific descriptions of the behavior and semantics of asType.

        This pattern is already followed by Element.getEnclosedElements with overrides in subintefaces giving more detail.

        Attachments

          Issue Links

            Activity

              People

                darcy Joe Darcy
                darcy Joe Darcy
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: