Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Currently, it's only possible to create instance groovy methods.
Such as
file = new File("text.txt")
file.eachLine
But we cannot currently add static methods, such as (GROOVY-260):
thread = Thread.start {
process = "some long running process".execute();
process.waitFor();
}