Skip to content
Snippets Groups Projects
Commit 5deed562 authored by Florian Hölzl's avatar Florian Hölzl
Browse files

fixed transformation chain resolution

completed simulation target execution
parent a74246cf
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ import java.util.List;
import java.util.Map;
import java.util.Set;
import org.conqat.lib.commons.reflect.ReflectionUtils;
import org.fortiss.tooling.kernel.extension.ITransformationProvider;
import org.fortiss.tooling.kernel.extension.data.ITransformationContext;
import org.fortiss.tooling.kernel.extension.data.TransformationProviderChain;
......@@ -140,8 +141,8 @@ public class TransformationService extends
// infinite loop protection
return;
}
Map<Class<?>, List<ITransformationProvider>> providerMap = handlersBySource
.get(sourceClass);
Map<Class<?>, List<ITransformationProvider>> providerMap = ReflectionUtils
.performNearestClassLookup(sourceClass, handlersBySource);
if (providerMap == null || providerMap.isEmpty()) {
// dead end reached
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment