You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, the Java2Swift tool uses java.lang.Class's getMethods(), getConstructors(), etc. that provides only public members. We should investigate whether using the getDeclaredMethods() operation would allow us to expose non-public members as well, which could be particularly useful for implementing native methods.
The text was updated successfully, but these errors were encountered:
When we are translating a class that was built as part of the Swift module,
use getDeclaredMethods() so we also see non-public methods.
Part of issue swiftlang#106.
…110)
When we are translating a class that was built as part of the Swift module,
use getDeclaredMethods() so we also see non-public methods.
Part of issue #106.
Right now, the Java2Swift tool uses
java.lang.Class
'sgetMethods()
,getConstructors()
, etc. that provides only public members. We should investigate whether using thegetDeclaredMethods()
operation would allow us to expose non-public members as well, which could be particularly useful for implementingnative
methods.The text was updated successfully, but these errors were encountered: