Calculate token length of method definitions

Apache 2.0

Locates method definitions and predicts the number of token in each.

org.openrewrite.java.ai.MethodDefinitionLength
mod run . --recipe=org.openrewrite.java.ai.MethodDefinitionLength

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