Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-3
-
None
Description
Java knows static initializers like
public class MyClass {
static String myField;
static
}
and object initializers like
public class MyClass {
String myField;
{ myField = new java.util.Date().toGMTString(); }
}
do we want to have them in Groovy as well?