The seven KotlinTestMethodsShouldReturnUnitTest tests started failing with "Recipe was expected to make a change but made no changes."
- The recipe gated its visitor behind
new UsesType<>("org..* *Test*", true). UsesType matches against fully qualified type names, but "org..* *Test*" is the two-token <owner> <name> form that AnnotationMatcher/MethodMatcher understand — no type name contains a space, so it could only ever match via the TypeNameMatcher bug where a ..* token followed by a suffix matched every name. That bug was fixed upstream in Fix TypeNameMatcher ..* followed by a suffix matching every name rewrite#8012, which correctly tightened the matcher and exposed this latent issue.
Uses a valid single-token glob org.junit..*Test* for the UsesType precondition, covering @Test, @ParameterizedTest, @RepeatedTest, and @TestTemplate. The AnnotationMatcher pattern (which correctly supports the two-token form) is left unchanged.
Validated locally with JDK 21 against the current rewrite snapshot: KotlinTestMethodsShouldReturnUnitTest passes (8/8), and the full ./gradlew test is green (1599 tests, 0 failures).