Uploaded image for project: 'BlueJ'
  1. BlueJ
  2. BLUEJ-1118

Generic field type shows type parameter names in code suggestion window

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Low
    • Resolution: Done
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.2
    • Component/s: Editor

      Description

      If you have a class with a field type dependent on a type parameter, eg:

      class A<T>
      {
          public T field = null;
      }
      

      Then any suggestions on `new A<String>().` will show "T field" rather than "String field", for example.

        Attachments

          Activity

            People

            • Assignee:
              davmac Davin McCall
              Reporter:
              davmac Davin McCall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: