Objective C语法对应Swift"extension where self: <some protocol>"

Objective C syntax corresponding to Swift "extension where self: <some protocol>"

有什么方法可以只为那些符合协议的子class扩展Objective C中的class,比如Swift:

extension SomeClass where self: SomeProtocol {
// some code
}

没有 Objective-C 语法。 (不确定是否有像这样的 Swift 语法;我们有 generic where clause,但 self 没有。并且 Objective-C 不提供完整的通用实现,仅提供轻量级实现。)