Skip to content

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

Open
copybara-service[bot] wants to merge 1 commit intomasterfrom
test_907869652
Open

Reimplement support for abstract types with @ObjectiveCKmpMethod in J2ObjC#2738
copybara-service[bot] wants to merge 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
…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: 907869652
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