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

State return value for Types.asElement(NoType) explicitly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 21
    • core-libs
    • None

      That API should have an informative sentence on that if an instance of NoType is passed to javax.lang.model.util.Types.asElement(TypeMirror) that method will return null.

            darcy Joe Darcy
            prappo Pavel Rappo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: