void (@NotNull IndexingTestEntity entity, @NotNull WorkspaceFileSetRegistrar registrar, @NotNull EntityStorage storage) { ModuleRelatedRootData data = new ModuleRelatedRootData() { @NotNull @Override public Module getModule() { return myModule; } }; for (VirtualFileUrl root : entity.getRoots()) { registrar.registerFileSet(root, WorkspaceFileKind.CONTENT, entity, data); } }