- parser::java::class_name: exactly-one-public-top-level-type rule
(package-info/module-info and 0-or-2-public files skipped)
- check gains name_mismatches[] (JSON, omitted when clean) + human lines;
exit 2 covers both kinds; fix engine untouched by design — a file rename
is not a byte edit, and mv keeps the FQN so no imports change
- output split into output/{mod,check} to stay under the 250-line rule
- e2e: reports Bad.java, stays quiet on Good.java, suggested rename makes
check pass and preserves the file bytes
|
||
|---|---|---|
| .. | ||
| common | ||
| go | ||
| java | ||
| python | ||
| typescript | ||
| apply.rs | ||
| cli.rs | ||
| cli_dir.rs | ||
| cli_fix.rs | ||
| cli_git.rs | ||
| cli_java.rs | ||
| cli_missing_import.rs | ||
| cli_name_check.rs | ||