# state `this` explicitly as in `this.name` class Test get name as String return 'Cobra' def computeLength as int return .name.length def run x = this.computeLength # .warning. unnecessary assert x==5 x = 3 def main is shared Test().run