@@ -4,13 +4,13 @@ Summary of features supported by the swift-java interoperability libraries and t
44
55## Overview
66
7- JavaKit supports both directions of interoperability, using Swift macros and source generation
7+ SwiftJava supports both directions of interoperability, using Swift macros and source generation
88(via the ` swift-java wrap-java ` command).
99
1010### Java -> Swift
1111
12- It is possible to use JavaKit macros and the ` wrap-java ` command to simplify implementing
13- Java ` native ` functions. JavaKit simplifies the type conversions
12+ It is possible to use SwiftJava macros and the ` wrap-java ` command to simplify implementing
13+ Java ` native ` functions. SwiftJava simplifies the type conversions
1414
1515> tip: This direction of interoperability is covered in the WWDC2025 session 'Explore Swift and Java interoperability'
1616> around the [ 7-minute mark] ( https://youtu.be/QSHO-GUGidA?si=vUXxphTeO-CHVZ3L&t=448 ) .
@@ -74,8 +74,8 @@ SwiftJava's `swift-java jextract` tool automates generating Java bindings from S
7474| Optional parameters: ` func f(i: Int?, class: MyClass?) ` | ✅ | ✅ |
7575| Optional return types: ` func f() -> Int? ` , ` func g() -> MyClass? ` | ❌ | ✅ |
7676| Primitive types: ` Bool ` , ` Int ` , ` Int8 ` , ` Int16 ` , ` Int32 ` , ` Int64 ` , ` Float ` , ` Double ` | ✅ | ✅ |
77- | Parameters: JavaKit wrapped types ` JavaLong ` , ` JavaInteger ` | ❌ | ✅ |
78- | Return values: JavaKit wrapped types ` JavaLong ` , ` JavaInteger ` | ❌ | ❌ |
77+ | Parameters: SwiftJava wrapped types ` JavaLong ` , ` JavaInteger ` | ❌ | ✅ |
78+ | Return values: SwiftJava wrapped types ` JavaLong ` , ` JavaInteger ` | ❌ | ❌ |
7979| Unsigned primitive types: ` UInt ` , ` UInt8 ` , ` UInt16 ` , ` UInt32 ` , ` UInt64 ` | ✅ * | ✅ * |
8080| String (with copying data) | ✅ | ✅ |
8181| Variadic parameters: ` T... ` | ❌ | ❌ |
0 commit comments