Add package-info.java descriptors for 15 undocumented packages#5040
Merged
Conversation
Fills in the 15 packages under CodenameOne/src that contain Java sources but lacked a package-info.java, so Javadoc and IDEs have a real description for them instead of an empty package summary. Matches the existing /// Javadoc style and stays ASCII-only. Covered packages: annotations, charts.transitions, cloud, compat.java.util, io.bonjour, io.oidc, io.usb, io.webauthn, io.wifi, nfc, plugin, plugin.event, ui.css, ui.layouts.mig, util.promise. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Contributor
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
Collaborator
Author
|
Compared 110 screenshots: 110 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
Collaborator
Author
|
Compared 110 screenshots: 110 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
Collaborator
Author
|
Compared 110 screenshots: 110 matched. Benchmark Results
Build and Run Timing
Detailed Performance Metrics
|
shai-almog
added a commit
that referenced
this pull request
May 25, 2026
Conflict was in CodenameOne/src/com/codename1/annotations/package-info.java where both sides added the file. PR #5040 on master shipped a broader description covering the whole annotations package (build pipeline + ParparVM bytecode translator) while this branch had a routing-only blurb. Took master's wording verbatim; it accurately covers the new @route / @RouteParam additions as build-pipeline annotations alongside the existing ParparVM-direction ones. Also aligned the two other new package-info.java files (com.codename1.router, com.codename1.router.generated) to master's convention: a `///` description with no copyright header, matching io/package-info.java, ui/package-info.java, and the package-info files PR #5040 added. Tests still pass: 19 plugin tests + the routing parts of core remain green locally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
package-info.javafor the 15 packages underCodenameOne/srcthat contain Java sources but had no package descriptor, so Javadoc and IDEs have a real summary instead of an empty page.io.webauthn,io.oidc,io.bonjour,io.wifi,io.usb,nfc,plugin,plugin.event,util.promise) plus older ones that had simply never received one (annotations,charts.transitions,cloud,compat.java.util,ui.css,ui.layouts.mig).///Javadoc style and is ASCII-only (per ParparVM Android encoding constraint).Test plan
git grep -L package-info CodenameOne/src/...shows no source-bearing package left undocumentedfile CodenameOne/src/com/codename1/**/package-info.javareports ASCII for all new filesmvn -Plocal-dev-javase -DskipTests install(core module) still compiles cleanly