RpcTypeInheritance

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class RpcTypeInheritance(source)

Opt-in marker for subclassing library types that are not intended to be inherited by user code.

Types annotated with @SubclassOptInRequired(RpcTypeInheritance::class) require an explicit opt-in before they can be subclassed. This is used to guard interfaces and classes whose implementations are provided by the library and may change in future versions.