It understands your code
Completion, errors as you type, Javadoc on hover, find usages and quick fixes come from the Eclipse JDT language server — the same engine behind Eclipse and VS Code Java — for your sources, the JDK and every Maven or Gradle dependency.