Commit 5d575f68 authored by Marco Konersmann's avatar Marco Konersmann

Code2TM now also uses the JavaToModelTransformation, and therefore a ForkJoinPool

parent 550c47c6
......@@ -149,7 +149,9 @@ public abstract class JavaBasedImplementationLanguageDefinition extends Implemen
t.setIDRegistry(idRegistry);
t.setModelElement(imElement);
t.getIALHolder().setFoundationalIALElement(tmElement);
t.transformToModel();
JavaToModelTransformation executor = new JavaToModelTransformation(projects, idRegistry,
(AbstractModelCodeTransformation<?, ?>) t, null);
executor.execute(monitor);
} catch (final Exception ex) {
addError("Could not extract IL information from the code.", ex);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment