Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6302

Stub generator chokes on multi-dimensional arrays

    XMLWordPrintableJSON

Details

    Description

      class GroovyClass {
          Map<String, String[][]> foo() { null }
      }
      
      

      Stub (note the foo method at the end):

      import java.lang.*;
      import java.io.*;
      import java.net.*;
      import java.util.*;
      import groovy.lang.*;
      import groovy.util.*;
      
      public class GroovyClass
        extends java.lang.Object  implements
          groovy.lang.GroovyObject {
      public  groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
      public  void setMetaClass(groovy.lang.MetaClass mc) { }
      public  java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
      public  java.lang.Object getProperty(java.lang.String property) { return null;}
      public  void setProperty(java.lang.String property, java.lang.Object value) { }
      public  java.util.Map<java.lang.String, [Ljava.lang.String;[]> foo() { return (java.util.Map<java.lang.String, [Ljava.lang.String;[]>)null;}
      }
      

      Attachments

        Activity

          People

            paulk Paul King
            gromopetr Peter Gromov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: