Groovy
  1. Groovy
  2. GROOVY-4650

stub generation fails with generic signatures

    Details

      Description

      The stub generation fails with the following classes. It appears it may be because of the generic signatures.

      //groovy code
      public interface ColContract {
        List<? extends PrimitiveContract> getPrims();
        String getThing();
        List<String> getMoreThings();
      }
      
      public interface PrimitiveContract {
        String getFoo();
        String getBar();
      }
      
      import java.util.List;
      
      public class Client3 {
          { new ColContract() {
              @Override
              public List<? extends PrimitiveContract> getPrims() {
                  return null;
              }
      
              @Override
              public String getThing() {
                  return null;
              }
      
              @Override
              public List<String> getMoreThings() {
                  return null;
              }
          }; }
      }
      

        Activity

        Travis Schneeberger created issue -
        Paul King made changes -
        Field Original Value New Value
        Fix Version/s 1.8.1 [ 17223 ]
        Assignee Paul King [ paulk ]
        Fix Version/s 1.7.11 [ 17244 ]
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 13:32:57 UTC 2015 [ 1428240777691 ]
        Mark Thomas made changes -
        Workflow jira [ 12733582 ] Default workflow, editable Closed status [ 12745326 ]
        Mark Thomas made changes -
        Project Import Mon Apr 06 02:11:23 UTC 2015 [ 1428286283443 ]
        Mark Thomas made changes -
        Workflow jira [ 12971071 ] Default workflow, editable Closed status [ 12978845 ]

          People

          • Assignee:
            Paul King
            Reporter:
            Travis Schneeberger
          • Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development