diff --git a/src/main/java/de/dhbwstuttgart/inferWildcards/ReplaceTypeparamVisitor.java b/src/main/java/de/dhbwstuttgart/inferWildcards/ReplaceTypeparamVisitor.java index b7483f70..8f77f132 100644 --- a/src/main/java/de/dhbwstuttgart/inferWildcards/ReplaceTypeparamVisitor.java +++ b/src/main/java/de/dhbwstuttgart/inferWildcards/ReplaceTypeparamVisitor.java @@ -38,7 +38,7 @@ public class ReplaceTypeparamVisitor // check if RefType has Parameter Types if (!refType.getParaList().isEmpty()) { - System.out.println("Type: " + refType); + System.out.print("Visit Type: " + refType + " -> "); // Iterate over all Parameter Types for (ListIterator listIterator = refType.getParaList() @@ -62,8 +62,11 @@ public class ReplaceTypeparamVisitor listIterator.set(tph); } } + + System.out.println(refType); } + // Let the parent care about all the other stuff super.visit(refType); }