#16245 receive builder could match generic messages, problem with scala type in CaseStatements class