示例:
def notNull(o, defaultValue) { o != null ? o : defaultValue }
在应用快速修复后:
def notNull(o, defaultValue) { o ?: defaultValue }