swiftlang / swiftlang/swift-java

Wrap java.util.function classes nicely in Swift

Open
#84 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature:wrap-java good first issue mode:jni
Dominant language
Swift
Stars
1.2k
Forks
123
Avg merge
1d 7h
Merged PRs (30d)
16

Description

We should consider wrapping the Java classes from java.util.function as part of JavaKit, either the main module or a JavaKitFunction module. We should probably extend those wrapper types with callAsFunction overloads so they can be called directly from Swift.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the JavaKit module organization and the java.util.function package linked in the issue. Determine whether the wrappers belong in the main module or a JavaKitFunction module, then define the needed Swift wrapper types and callAsFunction overloads. Done means the relevant java.util.function classes are wrapped and callable directly from Swift.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, swift
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.