From 044d9a1860899252bbd0609cb24359f2a05b8fd5 Mon Sep 17 00:00:00 2001 From: Till Schnell Date: Thu, 8 Apr 2021 18:37:42 +0200 Subject: [PATCH] improve log of replacement of tph --- .../inferWildcards/ReplaceTypeparamVisitor.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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); }