]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.reflection/src/org/simantics/scl/reflection/MinimalTypeBindingScheme.java
Revert "Prime SCL BindingRegistry to shave ~0.5s from startup"
[simantics/platform.git] / bundles / org.simantics.scl.reflection / src / org / simantics / scl / reflection / MinimalTypeBindingScheme.java
1 package org.simantics.scl.reflection;
2
3 import org.simantics.scl.compiler.types.TCon;
4 import org.simantics.scl.reflection.internal.typeRegistry.TypeRegistry;
5
6 public enum MinimalTypeBindingScheme implements TypeBindingScheme {
7     INSTANCE;
8
9     @Override
10     public Class<?> getClass(TCon type) throws TypeNotFoundException {
11         return TypeRegistry.getClass(type);
12     }
13 }