jextract-swift currently ignores public Swift properties when creating Java wrappers for the Swift type. We could instead produce wrappers for the getter/setter. For example, given something like:
public class MySwiftClass {
public var counter: Int32
}
the Java class could have:
public int getCounter();
public void setCounter(int newValue);
that call the getter/setter, respectively.
jextract-swiftcurrently ignores public Swift properties when creating Java wrappers for the Swift type. We could instead produce wrappers for the getter/setter. For example, given something like:the Java class could have:
that call the getter/setter, respectively.