Scan only code modules in environment in TypeRegistryImpl
@@ -120,6 +120,10 @@ private void initializeReflections(ClassLoader classLoader, ModuleEnvironment en
initializeReflections(classLoader);
for (Module module : environment.getModulesOrderedByDependencies()) {
+ if (!module.isCodeModule()) {
+ continue;
+ }
+
reflections.merge(module.getReflectionsFragment());
}
}
