improve log of replacement of tph

This commit is contained in:
Till Schnell 2021-04-08 18:37:42 +02:00
parent 6fcbca1187
commit 044d9a1860

View File

@ -38,7 +38,7 @@ public class ReplaceTypeparamVisitor
// check if RefType has Parameter Types // check if RefType has Parameter Types
if (!refType.getParaList().isEmpty()) { if (!refType.getParaList().isEmpty()) {
System.out.println("Type: " + refType); System.out.print("Visit Type: " + refType + " -> ");
// Iterate over all Parameter Types // Iterate over all Parameter Types
for (ListIterator<RefTypeOrTPHOrWildcardOrGeneric> listIterator = refType.getParaList() for (ListIterator<RefTypeOrTPHOrWildcardOrGeneric> listIterator = refType.getParaList()
@ -62,8 +62,11 @@ public class ReplaceTypeparamVisitor
listIterator.set(tph); listIterator.set(tph);
} }
} }
System.out.println(refType);
} }
// Let the parent care about all the other stuff // Let the parent care about all the other stuff
super.visit(refType); super.visit(refType);
} }