jade-recipe-1.5-1.6-navigable-set-map
Informational rule. TreeSet/TreeMap already implement NavigableSet/ NavigableMap in Java 6. No code change required. Invoked by jade-core-rule-dispatcher.
SKILL.md.claude/skills/java-migration-skill-registry/1.5-to-1.6/jade-recipe-1.5-1.6-navigable-set-map/SKILL.md
GitHubjade-recipe-1.5-1.6-navigable-set-map
Java 6 added java.util.NavigableSet and java.util.NavigableMap interfaces.
java.util.TreeSet and java.util.TreeMap already implement them natively.
No source code change is required.
Automated transform (apply.py)
Returns SKIPPED for every file — informational rule only.
Agent fallback
- Verify the flagged file uses
TreeSetorTreeMap - Confirm the code compiles on Java 6+ (these classes implement Navigable* natively)
- Mark as SKIPPED — no transform needed
- Optionally retype variables from
SortedSet/SortedMaptoNavigableSet/NavigableMapif the code uses navigation methods (ceiling, floor, higher, lower, etc.)