diff --git a/src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java b/src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java index 4a2c1dee..7e89e755 100644 --- a/src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java +++ b/src/main/java/de/dhbwstuttgart/bytecode/genericsGenerator/GeneratedGenericsFinder.java @@ -6,6 +6,7 @@ package de.dhbwstuttgart.bytecode.genericsGenerator; import java.util.*; import de.dhbwstuttgart.bytecode.TPHExtractor; +import de.dhbwstuttgart.bytecode.constraint.ExtendsConstraint; import de.dhbwstuttgart.bytecode.constraint.TPHConstraint; import de.dhbwstuttgart.bytecode.genericsGeneratorTypes.*; import de.dhbwstuttgart.bytecode.insertGenerics.ClassConstraint; @@ -162,6 +163,7 @@ public class GeneratedGenericsFinder implements ASTVisitor { List listOfClassCons = new ArrayList<>(); for(TPHConstraint clCons: fogg.classConstraints) { +// ExtendsConstraint ec = new ExtendsConstraint(clCons.getLeft(), clCons.getRight()); GenericsGeneratorResult ggR = new GenericsGeneratorResult(clCons, new HashSet<>()); listOfClassCons.add(ggR); } @@ -171,6 +173,7 @@ public class GeneratedGenericsFinder implements ASTVisitor { for(String methID: fogg.methodConstraintsWithPosition.keySet()) { List listOfGGR = new ArrayList<>(); for(TPHConstraint methCons: fogg.methodConstraintsWithPosition.get(methID)) { +// ExtendsConstraint ec = new ExtendsConstraint(methCons.getLeft(),methCons.getRight()); GenericsGeneratorResult ggR = new GenericsGeneratorResult(methCons, new HashSet<>()); listOfGGR.add(ggR); }