diff --git a/src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/analysers/JavaASTAnalyser.java b/src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/analysers/JavaASTAnalyser.java index a55fe3a68ef..202778ddc7a 100644 --- a/src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/analysers/JavaASTAnalyser.java +++ b/src/java/apiview-java-processor/src/main/java/com/azure/tools/apiview/processor/analysers/JavaASTAnalyser.java @@ -1322,7 +1322,7 @@ private class ScanForClassTypeVisitor extends VoidVisitorAdapter arg) { compilationUnit.getModule().ifPresent(moduleDeclaration -> - apiListing.addChildItem(new ChildItem(MODULE_INFO_KEY, MODULE_INFO_KEY, TypeKind.JAVA_MODULE))); + apiListing.addChildItem(new ChildItem(MODULE_INFO_KEY, MODULE_INFO_KEY, TypeKind.MODULE))); for (final TypeDeclaration typeDeclaration : compilationUnit.getTypes()) { buildTypeHierarchyForNavigation(typeDeclaration);