State return value for Types.asElement(NoType) explicitly

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 21
    • Affects Version/s: 21
    • Component/s: 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.

            Assignee:
            Joe Darcy
            Reporter:
            Pavel Rappo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: