You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-pl...@mozilla.org
Hi all,
There is already quite a bit of Java and some Kotlin code in mozilla-central for GeckoView and that number should only increase as progress is made towards absorbing firefox-android.
It was already possible to browse that code from Searchfox obviously, but without most of the interesting features:
* no Go to declaration/definition
* no search for uses/subclasses/superclasses/overrides/...
* no diagrams
All of that is now available for Java (and Kotlin) code too!
On the technical side this is enabled by emitting SemanticDB files when building using javac/kotlinc compiler plugins[1;2] then turning that into an SCIP index using scip-java[1]. This SCIP index is then consumed just like the SCIP index that rust-analyzer produces for Rust code.
[1] https://github.com/sourcegraph/scip-java [2] https://github.com/sourcegraph/scip-kotlin
The next step is to add support for the autogenerated JNI bindings so one may easily jump to/from Java code from/to C++ code.