-
Notifications
You must be signed in to change notification settings - Fork 49
JavaKit: Macro and translator support for mapping Java classes to Swift classes #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
DougGregor
merged 17 commits into
swiftlang:main
from
DougGregor:java-classes-to-swift-classes
Oct 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a6780be
JavaKit: Macro and translator support for mapping Java classes to Swi…
DougGregor 6440a3c
Java2Swift: Mark instance methods as "override" when needed
DougGregor 83b0e1a
Java2Swift: Always use the nearest imported superclass for the superc…
DougGregor 819dd27
Java2Swift: Regenerate generated mappings
DougGregor 2a7d841
Java2Swift: Drop the "as(superclass)" function when generating classes
DougGregor 4d833cf
Java2Swift: all initializers in "class mode" are convenience inits
DougGregor 1baa095
Java2Swift: Fix enum initializer for class-based generation.
DougGregor 1715af8
Java2Swift: Don't use Self in an invariant position in enum convenien…
DougGregor b55cd4d
Java2Swift: fullJavaClassName needs to be "open class" in class-gener…
DougGregor 45d195c
Java2Swift: Correctly determine if a Swift method will be an override.
DougGregor 9f5fbbf
Java2Swift: Java static methods need to use "public", not "open"
DougGregor ea6cfaa
Java2Swift: Include protected methods in generated classes
DougGregor c3337b6
Import java.util.zip.ZipEntry and regenerate JavaKit sources
DougGregor 4b045b2
Java2Swift: Don't translate Java interfaces into Swift classes
DougGregor 374c847
JavaField macro: within a class, don't generate "nonmutating" modifier
DougGregor 7346359
Java2Swift: Account for differences in covariant overrides between Ja…
DougGregor 0e3fc53
Java2Swift: Use `@_nonoverride` on generated convenience initializers
DougGregor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hah sneaky 👍