Java & Kotlin Code Hygiene
Compiler, type-contract, resource, concurrency, and coroutine hygiene for JVM repositories.
Select one bounded recipe. Start in audit mode; authorize fixes only after reviewing the candidate evidence.
Recipes
Java compiler warning, deprecation, and suppression debt
developmentBounded audit or remediation to resolve javac warnings and narrow SuppressWarnings annotations.
Java nullability, Optional, and boundary contracts
developmentBounded audit or remediation to make null contracts explicit without misusing Optional in storage or fields.
Java AutoCloseable and resource lifecycle
developmentBounded audit or remediation to close files, streams, clients, cursors, and scopes on every exit path.
Java executor, Future, and ThreadLocal lifecycle
developmentBounded audit or remediation to bound background work and clean executor and thread-local state.
Kotlin compiler, Detekt, and suppression debt
developmentBounded audit or remediation to resolve Kotlin diagnostics and narrow file or declaration suppressions.
Kotlin coroutine scope, cancellation, and Flow lifecycle
developmentBounded audit or remediation to replace orphaned coroutines and uncollected or multiply collected flows with owned lifecycles.
Kotlin nullability, platform types, and immutability
developmentBounded audit or remediation to contain Java platform types and remove unsafe assertions and unintended mutation.