Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.0-rc-1
-
None
Description
Generated stub for empty enum class misses ';' at the beginning of the class.
enum E {
}
public enum E implements groovy.lang.GroovyObject { //here should be ';' public static final p.A.E MIN_VALUE = null; public static final p.A.E MAX_VALUE = null; 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 p.A.E next() { return (p.A.E)null;} public p.A.E previous() { return (p.A.E)null;} public static final p.A.E $INIT(java.lang.Object... para) { return (p.A.E)null;} }