Skip to content

Reimplement support for abstract types with @ObjectiveCKmpMethod in J2ObjC#2738

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_907869652
May 8, 2026
Merged

Reimplement support for abstract types with @ObjectiveCKmpMethod in J2ObjC#2738
copybara-service[bot] merged 1 commit intomasterfrom
test_907869652

Conversation

@copybara-service
Copy link
Copy Markdown

Reimplement support for abstract types with @ObjectiveCKmpMethod in J2ObjC

  • Introduced MappingStrategy to handle concrete and abstract methods differently.
  • Refactored AdapterContext to use the strategy.
  • Updated AdapterGenerator to detect abstract methods and overrides.
  • Skipped package-info types in endVisit to avoid errors in override check.
  • Updated unit tests to expect adapters in concrete subclasses and handled generics in assertions.

@copybara-service copybara-service Bot force-pushed the test_907869652 branch 3 times, most recently from d1acfb0 to 1357a22 Compare May 6, 2026 22:55
@copybara-service copybara-service Bot force-pushed the test_907869652 branch 2 times, most recently from 47fb075 to 58e9ba7 Compare May 8, 2026 21:26
…2ObjC

- Introduced MappingStrategy to handle concrete and abstract methods differently.
- Refactored AdapterContext to use the strategy.
- Updated AdapterGenerator to detect abstract methods and overrides.
- Skipped package-info types in endVisit to avoid errors in override check.
- Updated unit tests to expect adapters in concrete subclasses and handled generics in assertions.

PiperOrigin-RevId: 912708575
@copybara-service copybara-service Bot merged commit 537ab12 into master May 8, 2026
@copybara-service copybara-service Bot deleted the test_907869652 branch May 8, 2026 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant