If I create a context from a maven project and for whatever reason (on purpose, on accident, ...) there is no byte-code available then source-code analysis only works for the root source location of the project (e.g. src/main/java). However, we should also try to read the sources from dependencies (source JARs or even module sources).