When default @SwiftName rules are being applied, this update changes the Swift names of inner Java interfaces and of types declared within Java interfaces. Previously, if an interface Bar was declared within a type Foo or a concrete type Bar was declared within an interface Foo, they would be translated to a top-level type with Swift name Bar. This could cause problems if another inner type with the same name was also promoted. Now the Swift type name in each of these cases will be formed by concatenating the outer and inner type names: FooBar. This matches KMP's Swift naming of inner interfaces and of concrete types within interfaces. - #2831
Open
copybara-service[bot] wants to merge 1 commit into
Open
When default @SwiftName rules are being applied, this update changes the Swift names of inner Java interfaces and of types declared within Java interfaces. Previously, if an interface Bar was declared within a type Foo or a concrete type Bar was declared within an interface Foo, they would be translated to a top-level type with Swift name Bar. This could cause problems if another inner type with the same name was also promoted. Now the Swift type name in each of these cases will be formed by concatenating the outer and inner type names: FooBar. This matches KMP's Swift naming of inner interfaces and of concrete types within interfaces.#2831copybara-service[bot] wants to merge 1 commit into
copybara-service[bot] wants to merge 1 commit into
Google CLA / cla/google
succeeded
Aug 20, 2026 in 14s
✅ All contributors are covered under a CLA with Google
See https://cla.developers.google.com/ for more info about Google's Contributor License Agreement (CLA).
ℹ️ Googlers: Go here to view more details and manage scans for this pull request.
Details
The following contributors were found for this pull request:
✅ 5f37181 PR Opener: @copybara-service[bot]
✅ 5f37181 Author: @j2objc-copybara <j2ob********ara@google.com>
(Only the first commit for a unique contributor is listed.)
Loading