Golo can invoke public Java static methods by treating them as functions:
module sample
import java.util.Arrays
function oneTwoThree = {
return asList(1, 2, 3)
}In this example, asList is resolved from the java.util.Arrays import and called as a function.
Note that we could equivalently have written a qualified invocation as Arrays.asList(1, 2, 3).