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

Autoclone clone() method not included in Java stub

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      @AutoClone
      class Foo {
          String name
      }
      

      Creates this stub, which is missing the clone() method.

      import java.lang.*;
      import java.io.*;
      import java.net.*;
      import java.util.*;
      import groovy.lang.*;
      import groovy.util.*;
      
      @groovy.transform.AutoClone() public class Foo
        extends java.lang.Object  implements
          groovy.lang.GroovyObject {
      ;
      @groovy.transform.Generated() public  groovy.lang.MetaClass getMetaClass() { return (groovy.lang.MetaClass)null;}
      @groovy.transform.Generated() public  void setMetaClass(groovy.lang.MetaClass mc) { }
      @groovy.transform.Generated() public  java.lang.Object invokeMethod(java.lang.String method, java.lang.Object arguments) { return null;}
      @groovy.transform.Generated() public  java.lang.Object getProperty(java.lang.String property) { return null;}
      @groovy.transform.Generated() public  void setProperty(java.lang.String property, java.lang.Object value) { }
      public  java.lang.String getName() { return (java.lang.String)null;}
      public  void setName(java.lang.String value) { }
      }
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              keegan Keegan Witt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: