]> gerrit.simantics Code Review - simantics/platform.git/blob
650fa1d19cb4d7a77bdc0630c24063cc1326c084
[simantics/platform.git] /
1 package org.simantics.scl.compiler.source.repository;
2
3 import org.osgi.service.component.annotations.Component;
4 import org.simantics.scl.compiler.elaboration.java.Builtins;
5 import org.simantics.scl.compiler.elaboration.java.JavaModule;
6 import org.simantics.scl.compiler.elaboration.java.LoggingModule;
7 import org.simantics.scl.compiler.elaboration.java.MinigraphModule;
8 import org.simantics.scl.compiler.elaboration.java.ReflectionJavaModule;
9
10 @Component
11 public class BuiltinModuleSourceRepository extends MapModuleSourceRepository implements ModuleSourceRepository {
12     public BuiltinModuleSourceRepository() {
13         super(Builtins.INSTANCE,
14                 JavaModule.INSTANCE,
15                 ReflectionJavaModule.INSTANCE,
16                 MinigraphModule.INSTANCE,
17                 new LoggingModule());
18     }
19 }