swiftlang / swift-java

Apache License 2.0
724 stars 27 forks source link

Java2Swift: Move from Swift structs over to Swift classes #132

Closed DougGregor closed 2 weeks ago

DougGregor commented 2 weeks ago

Right now, Java classes (and interfaces) are imported as Swift struct declarations, which means we don't get sub typing relationships. Let's see if we can move over to using Swift class declarations instead so the Java class hierarchy is reflected in the Swift class hierarchy. There are lots of issues to consider here.