Java Support in Maguyva: Code Intelligence for Enterprise Repositories
Useful when the repo is full of Spring services, internal frameworks, and code that has survived several organizational eras.
Extensions
.java
Maguyva parses Groovy with AST, symbol, and graph support, so AI agents can follow classes, closures, and calls across Groovy apps, Gradle builds, and Jenkinsfiles.
Groovy often reads like configuration. In a Gradle build, dependencies { implementation ... } is a chain of method calls with closures, and a declarative Jenkinsfile is the same. Builders turn arbitrary names into calls, and the GDK adds methods such as each and collect to every object. A tool that records every call drowns in that noise.
Maguyva filters the DSL and GDK layer so your own methods and classes stand out.
Maguyva covers .groovy and .gradle files and Jenkinsfile. Classes, functions, and methods are extracted, and imports normalise import static and as aliases. Call names are cleaned of trailing closure blocks and the ?. safe-navigation operator, so repo?.save(order) { ... } is recorded as a call to save. A bare call inside a class resolves to its own method.
Noise is filtered in layers:
dependencies, implementation, task, given, when, then, and Mock.each, collect, inject, and eachLine.pipeline, stage, steps, and sh, when they are used in builder style rather than called with parentheses.@CompileStatic, @Immutable, and @Autowired, which are never recorded as calls.The graph also records inheritance, instantiation, and reads and writes.
deployToStaging, and from which pipelines?” (find_symbol, then dependency_search incoming)BaseIntegrationSpec?” (dependency_search)get_task_context)methods preset in structural_search selects nothing. Use the functions preset or find_symbol instead.collect or stage, can be filtered with them. Use text_pattern_search when a caller seems missing.Connect a repository with the quickstart, then check the support matrix on the compatibility page. For the JVM code your builds compile, read the Java guide and the Kotlin guide.
Best fit
Agent workflows
Engine details
Useful MCP entry points
Use it for a shared-library step, build helper, or class when you need the definition and callers.
Use incoming traversal on a build helper to see which scripts and pipelines call it.
Use it for DSL calls and GDK methods, which are filtered from the graph.
Related guides
Useful when the repo is full of Spring services, internal frameworks, and code that has survived several organizational eras.
Extensions
.java
Kotlin hides a lot of wiring in receivers and lambdas. The graph puts it back.
Extensions
.kt, .kts