resolved the todo

This commit is contained in:
Till Schnell 2021-06-11 23:26:25 +02:00
parent 68394565b5
commit 0e8012c132

View File

@ -100,9 +100,8 @@ public class JavaTXCompilerWildcards
throw new IOException("Could not create output directory at: " + outputDir.getAbsolutePath()); throw new IOException("Could not create output directory at: " + outputDir.getAbsolutePath());
} }
// TODO for all result sets
List<ResultSet> typeInference = typeInference(); List<ResultSet> typeInference = typeInference();
ResultSet resultSet = typeInference.get(0); ResultSet resultSet = typeInference.get(0); // Use the first available result sets
for (Map.Entry<File, SourceFile> e : sourceFiles.entrySet()) { for (Map.Entry<File, SourceFile> e : sourceFiles.entrySet()) {
List<Map.Entry<? extends TypePlaceholder, ? extends RefTypeOrTPHOrWildcardOrGeneric>> list = tphMap.entrySet().stream().filter(d -> FindInAstVisitor.find(e.getValue(), d.getKey())).sorted( (c1, c2) -> Integer.compare(c1.getValue().getOffset().getStartIndex(), List<Map.Entry<? extends TypePlaceholder, ? extends RefTypeOrTPHOrWildcardOrGeneric>> list = tphMap.entrySet().stream().filter(d -> FindInAstVisitor.find(e.getValue(), d.getKey())).sorted( (c1, c2) -> Integer.compare(c1.getValue().getOffset().getStartIndex(),