class Test shared def main t = Test() t.makeList1(1, true, Object()) def makeList1(a as Object, b as Object, c as Object) as List t = [a, b, c] return t