Please provide a way to validate newly-constructed parameterized types.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 6
    • Component/s: tools
    • generic
    • generic

      Please provide a way to validate newly-constructed parameterized types.
      Something along the lines of the type validation in Check.validate,
      except operating on Type objects. It should be easy to validate without
      automatically emitting diagnostics.

      This would be useful, for example, for making the getDeclaredType utility
      methods in javax.lang.model.util.Types more robust in the face of invalid
      arguments.

            Assignee:
            Unassigned
            Reporter:
            Scott Seligman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: