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

Add clarifying overrides of Element.asType to more specific subinterfaces

XMLWordPrintable

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

        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.

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

                Created:
                Updated:
                Resolved: