Skip to content

Commit c1e6178

Browse files
jmleweb-flow
authored andcommitted
Set symbol kind as Module so that is not filtered out later in the analyzer (#159)
Signed-off-by: Juan Manuel Leflet Estrada <[email protected]> Signed-off-by: Cherry Picker <[email protected]>
1 parent 73d4bdf commit c1e6178

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java-analyzer-bundle.core/src/main/java/io/konveyor/tackle/core/internal/SampleDelegateCommandHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ private static List<SymbolInformation> search(String projectName, ArrayList<Stri
386386
if (regex.matcher(imp.getName().getFullyQualifiedName()).matches()) {
387387
SymbolInformation symbol = new SymbolInformation();
388388
symbol.setName(imp.getName().getFullyQualifiedName());
389-
symbol.setKind(SymbolKind.Namespace);
389+
symbol.setKind(SymbolKind.Module);
390390
symbol.setContainerName(unit.getElementName());
391391
symbol.setLocation(getLocationForImport(unit, imp, cu));
392392
System.out.println("Found in " + unit.getElementName());

0 commit comments

Comments
 (0)