forked from JavaTX/JavaCompilerCore
modified: src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java
This commit is contained in:
parent
eb97dd810f
commit
842b85cfd7
@ -137,7 +137,11 @@ public class GeneratedGenericsFinder implements ASTVisitor {
|
|||||||
//Rueckgabe an generatedGenericsForSF
|
//Rueckgabe an generatedGenericsForSF
|
||||||
fogg = new FamilyOfGeneratedGenerics(tphExtractor);
|
fogg = new FamilyOfGeneratedGenerics(tphExtractor);
|
||||||
System.out.println("fogg: "+ fogg.methodConstraintsWithPosition);
|
System.out.println("fogg: "+ fogg.methodConstraintsWithPosition);
|
||||||
|
|
||||||
|
/*
|
||||||
tphsClass = tphExtractor.tphsClass;
|
tphsClass = tphExtractor.tphsClass;
|
||||||
|
//PL 2020-01-15
|
||||||
|
//Es muss ggResult aus fogg gebildet werden
|
||||||
simplifiedConstraints = GenericsGenerator.simplifyConstraints(tphExtractor, tphsClass);
|
simplifiedConstraints = GenericsGenerator.simplifyConstraints(tphExtractor, tphsClass);
|
||||||
if(!isVisited) {
|
if(!isVisited) {
|
||||||
ggResult = GenericsGenerator.generateConstraints(className, tphExtractor, tphsClass,simplifiedConstraints);
|
ggResult = GenericsGenerator.generateConstraints(className, tphExtractor, tphsClass,simplifiedConstraints);
|
||||||
@ -148,6 +152,7 @@ public class GeneratedGenericsFinder implements ASTVisitor {
|
|||||||
addMethodConstraints(simplifiedConstraints, ggResult, m);
|
addMethodConstraints(simplifiedConstraints, ggResult, m);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
if(ggResult != null)
|
if(ggResult != null)
|
||||||
generatedGenericsForSF.addGenericGeneratorResultClass(ggResult);
|
generatedGenericsForSF.addGenericGeneratorResultClass(ggResult);
|
||||||
|
Loading…
Reference in New Issue
Block a user