Currently we generate a Swift thunk for each imported type Type+SwiftJava.swift. The problem is that we need to tell the SwiftPM build plugin the output file names, where we currently pass in filename+SwiftJava.swift.
That means that the following code does not work in Types.swift:
public class Class1 {}
public class Class2 {}
We should change this behaviour, by perhaps generating a Swift file per imported file instead.
Currently we generate a Swift thunk for each imported type
Type+SwiftJava.swift. The problem is that we need to tell the SwiftPM build plugin the output file names, where we currently pass infilename+SwiftJava.swift.That means that the following code does not work in
Types.swift:We should change this behaviour, by perhaps generating a Swift file per imported file instead.