* chore: replace var with explicit types in src/main files no open PR touches
* chore: replace var with explicit types in src/test files no open PR touches
* chore: replace var with explicit types in sdk-test-java files no open PR touches
* chore(style): replace var with explicit types in src/main
Drop the NoVar suppressions of the src/main files that no open PR touches.
* chore(style): replace var with explicit types in src/test
Drop the NoVar suppressions of the src/test files that no open PR touches.
* chore(style): replace var with explicit types in sdk-test-java
Drop the NoVar suppressions of the compatibility test files that no open PR touches.
* chore: ban var with Checkstyle in CI
Checkstyle runs tools/checkstyle/checkstyle.xml over src and compatibility-tests/sdk-test-java in its own workflow. It stays out of the Maven lifecycle because a full run takes about 30 seconds.
Code that already uses var is listed in tools/checkstyle/suppressions.xml, one entry per service and one per compatibility-tests file, so each can be cleaned and removed in its own PR.
* docs: point AGENTS.md and CONTRIBUTING.md at Checkstyle
* chore: load Checkstyle suppressions from checkstyle.xml
IDE plugins such as CheckStyle-IDEA set config_loc to the config directory and now apply the same suppressions as CI. Maven sets config_loc through propertyExpansion.
* chore: exclude files, not directories, from the var check
New files in services that still use var are now checked too.
* chore: exclude the renamed NativeDynamoDbJsonHandler files from the var check