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' 懒惰的表情虚线表达