salesforce / bazel-java-sdk

Apache License 2.0
26 stars 4 forks source link

refactor indexer to separate JVM specific details from base classes #17

Closed plaird closed 3 years ago

plaird commented 3 years ago

The indexer was a hackathon feature that I added a while ago. It provides a full index of all classes reachable within a workspace (external jars, source files). I used it to create a global type search for Bazel Eclipse.

Since it was hastily done, it needed a refactor. Most of the code is reusable for indexing other languages. So this refactor separates the JVM specific assumptions into small subclasses of the main indexing classes.