What it does
JavaLens is an MCP server with 75 analysis tools for Java, built on Eclipse JDT. It returns compiler-accurate results for navigation, find references, call hierarchy, refactoring and code metrics, so results reflect how the compiler resolves the code and not only matching text. It handles overloading, overriding, generics and imports, and supports Java source up to Java 25.
Use cases
- 01Finding every real call to a method before changing it
- 02Reviewing call hierarchies in a large Java service
- 03Measuring code metrics during a code review