modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java

This commit is contained in:
pl@gohorb.ba-horb.de 2021-01-16 09:12:34 +01:00
parent eb97dd810f
commit 842b85cfd7

View File

@ -137,7 +137,11 @@ public class GeneratedGenericsFinder implements ASTVisitor {
//Rueckgabe an generatedGenericsForSF
fogg = new FamilyOfGeneratedGenerics(tphExtractor);
System.out.println("fogg: "+ fogg.methodConstraintsWithPosition);
/*
tphsClass = tphExtractor.tphsClass;
//PL 2020-01-15
//Es muss ggResult aus fogg gebildet werden
simplifiedConstraints = GenericsGenerator.simplifyConstraints(tphExtractor, tphsClass);
if(!isVisited) {
ggResult = GenericsGenerator.generateConstraints(className, tphExtractor, tphsClass,simplifiedConstraints);
@ -148,6 +152,7 @@ public class GeneratedGenericsFinder implements ASTVisitor {
addMethodConstraints(simplifiedConstraints, ggResult, m);
}
*/
if(ggResult != null)
generatedGenericsForSF.addGenericGeneratorResultClass(ggResult);