fix(java_indexer): avoid NPE when referencing Java package in comment (#3803)

4 files changed