来源:https://stackoverflow.com/questions/64321838/extracting-scala-case-class-value 标签 scala class pattern-matching case traits