Find modules overriding a library method that uses HttpClient 4

MSAL

Marks the source files of modules that override a method whose declaration in a library, a type that is not declared in the sources, takes or returns an HttpClient 4 type. The override has to keep that signature as long as the library is on HttpClient 4, so retyping it to HttpClient 5 stops it from compiling. This recipe is intended to be used as a precondition for the HttpClient 5 migration.

org.openrewrite.apache.httpclient5.ModuleOverridesHttpClient4Library

Optional

invertMarkingBoolean

If true, marks the files of modules that do not override such a method instead. Defaults to false.

mod run . --recipe=org.openrewrite.apache.httpclient5.ModuleOverridesHttpClient4Library

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.