假设你有一个包含方法名称的字符串,一个支持该方法和一些参数的对象,是否有一些语言功能允许你动态调用它?
有点像Ruby的send参数.
send
language-features scala dynamic
dynamic ×1
language-features ×1
scala ×1