class Test get name as String return 'Cobra' def computeLength as int return .name.length def run n = .name assert n=='Cobra' n = 'aoeu' x = .computeLength assert x==5 x = 3 def main is shared Test().run