codanna
codanna copied to clipboard
Java Support
This MCP has Java support?
Hey @victormilk!
Java support is now available in v0.8.0.
The parser handles classes, interfaces, methods, fields, and tracks relationships like inheritance and method calls. Package-based resolution works for cross-file lookups.
Configuration
Add your pom.xml files to .codanna/settings.toml for better resolution:
[languages.java]
enabled = true
config_files = [
"pom.xml",
"module-a/pom.xml",
"module-b/pom.xml"
]
This helps the resolver understand your project structure and dependencies. The config is cached and only rebuilds when pom.xml changes.
Then index normally: codanna index path/to/java/project
Let me know if you hit any issues.