groovy
  1. groovy
  2. GROOVY-4650

stub generation fails with generic signatures

    Details

    • Number of attachments :
      0

      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

        Paul King made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Paul King [ paulk ]
        Fix Version/s 1.7.11 [ 17244 ]
        Fix Version/s 1.8.1 [ 17223 ]
        Resolution Fixed [ 1 ]
        Paul King made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: