Standardize method name casing

MSAL

Fixes method names that do not follow standard naming conventions. For example, String getFoo_bar() would be adjusted to String getFooBar() and int DoSomething() would be adjusted to int doSomething(). Following a consistent casing convention for method names improves code readability and helps developers quickly distinguish methods from classes or constants.

org.openrewrite.staticanalysis.MethodNameCasing

Optional

includeTestSourcesBoolean

Changes only apply to main by default. includeTestSources will apply the recipe to test source files.

renamePublicMethodsBoolean

Changes are not applied to public methods unless specified.

mod run . --recipe=org.openrewrite.staticanalysis.MethodNameCasing

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