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
- is related to
-
GROOVY-7764 Joint compilation does not work with AST-transformed Groovy
- Open