Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3648

Add support to generate Generic Methods

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 2.0.0.M1
    • Fix Version/s: 2.0.0.M2
    • Component/s: None
    • Labels:
      None

      Description

      Extend Spring Roo Method Builder API to include functionality that generates Generic Methods:

      http://docs.oracle.com/javase/tutorial/extra/generics/methods.html

      static <T> void fromArrayToCollection(T[] a, Collection<T> c) {
          for (T o : a) {
              c.add(o); // Correct
          }
      }
      

        Attachments

          Activity

            People

            • Assignee:
              jcgarcia Juan Carlos García del Canto
              Reporter:
              jcgarcia Juan Carlos García del Canto
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: