diff --git a/src/main/java/edu/rice/cs/caper/bayou/application/api_synthesis_server/ApiSynthesisStrategy.java b/src/main/java/edu/rice/cs/caper/bayou/application/api_synthesis_server/ApiSynthesisStrategy.java index 99726e1d..31a08969 100644 --- a/src/main/java/edu/rice/cs/caper/bayou/application/api_synthesis_server/ApiSynthesisStrategy.java +++ b/src/main/java/edu/rice/cs/caper/bayou/application/api_synthesis_server/ApiSynthesisStrategy.java @@ -51,7 +51,9 @@ static ApiSynthesisStrategy fromConfig() String combinedClasspath = Configuration.EvidenceClasspath + File.pathSeparator + Configuration.AndroidJarPath.getAbsolutePath(); - EvidenceExtractor evidenceExtractor = new EvidenceExtractorAst(combinedClasspath); + EvidenceExtractor evidenceExtractor = + source -> new EvidenceExtractorAst(combinedClasspath).extract(source); + Synthesizer synthesizer = new SynthesizerDefault(combinedClasspath); return new ApiSynthesisStrategyRemoteTensorFlowAsts(evidenceExtractor, synthesizer, "localhost", 8084,