diff --git a/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java b/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java index 2f80972..d6b5025 100644 --- a/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java +++ b/JavaCompilerPlugin/bundles/JavaCompilerPlugin.Plugin/src/typinferenzplugin/Typinferenz.java @@ -22,9 +22,8 @@ import org.eclipse.core.runtime.ILog; import org.eclipse.core.runtime.Status; import de.dhbwstuttgart.bytecode.BytecodeGen; -import de.dhbwstuttgart.bytecode.Exception.BytecodeGeneratorError; import de.dhbwstuttgart.bytecode.descriptor.TypeToDescriptor; -import de.dhbwstuttgart.bytecode.simplifyRes.GenericGenratorResultForSourceFile; +import de.dhbwstuttgart.bytecode.genericsGeneratorTypes.GenericGenratorResultForSourceFile; import de.dhbwstuttgart.core.JavaTXCompiler; import de.dhbwstuttgart.exceptions.TypeinferenceException; import de.dhbwstuttgart.syntaxtree.SourceFile; @@ -148,6 +147,8 @@ public class Typinferenz { public synchronized HashMap getBytecode(SourceFile sf, Collection resultSets, String path) { try { HashMap classFiles = new HashMap<>(); + + List genericResults = compiler.getGeneratedGenericResultsForAllSourceFiles(new ArrayList<>(resultSets)); BytecodeGen bytecodeGen = new BytecodeGen(classFiles,resultSets, genericResults, sf,path); bytecodeGen.visit(sf);