{"adoption": {"forks": 122, "observed_at": "2026-09-03T02:15:18.279116+00:00", "stars": 1247}, "canonical_url": "https://ross.abutalabs.com/products/swift-java", "card": {"archived": false, "artifact_type": "library", "description": "Java interopability support for Swift", "domain": ["programming-languages", "developer-tools", "cross-platform"], "enriched": true, "function": ["sdk", "parser", "developer-tools"], "health_score": 100, "homepage": "https://swiftpackageindex.com/swiftlang/swift-java/main/documentation/swiftjavadocumentation", "language": "Swift", "license": "Apache-2.0", "license_family": "permissive", "maturity": "active", "member_repos": ["swiftlang/swift-java"], "name": "swiftlang/swift-java", "platform": ["jvm", "windows", "cross-platform"], "pushed_at": "2026-09-03T01:20:44+00:00", "repo": "swiftlang/swift-java", "stars": 1247, "tags": ["swift-java-interop", "jni", "bindings-generator", "language-interop", "swift", "macos", "linux"], "topics": [], "urls": [], "use_cases": ["call Java libraries from a Swift program", "generate Swift bindings for Java classes", "generate Java bindings for Swift code", "write JNI code without manual boilerplate", "integrate Swift and Java in the same project"], "what_it_is": "A set of tools and libraries from Apple's swiftlang org enabling Swift and Java interoperability. It includes the SwiftJava library with macros for calling Java from Swift via JNI, and the swift-java tool for generating bindings in either language.", "when_to_avoid": ["you need a stable, published Maven dependency - supporting libraries must be self-published locally", "you're on Swift versions older than 6.2", "you need interop with other JVM languages like Kotlin beyond Java APIs"], "when_to_choose": ["you need to mix Swift and Java code in one application", "you want automated binding generation between Swift and Java", "you're on Swift 6.2+ with JDK 17+ and need language interop"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/swift-java", "repo": "swiftlang/swift-java", "role": "main", "score": 89}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:18.279116+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:08:21.328866+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "e0014a354b8f039d324bc1b598c7552d4f00b33bd027c3eadf5abe9b9af090b3", "fetched_at": "2026-09-03T02:15:18.279116+00:00", "kind": "readme", "missing": false, "url": "https://github.com/swiftlang/swift-java"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 100, "longevity": 50, "rhythm": 96}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 708, "days_push": 0, "days_rel": 24, "gap_med": 12, "n_releases_24m": 10}, "score": 89, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}