StackOverflow 文件 groovy 教程 字串插值 渴望表達 渴望表達 Created: November-22, 2018 def str = 'old' def interpolated = "I am the ${str} value" assert interpolated == 'I am the old value' str = 'new' assert interpolated == 'I am the old value' 懶惰的表情虛線表達