diff --git a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetExtendsWildcard.java b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetExtendsWildcard.java index 7e5ab002..a242dec9 100644 --- a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetExtendsWildcard.java +++ b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetExtendsWildcard.java @@ -8,7 +8,7 @@ public record TargetExtendsWildcard(TargetType innerType) implements TargetType @Override public String toGenericSignature() { - return innerType.toGenericSignature(); + return "+" + innerType.toGenericSignature(); } @Override diff --git a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetSuperWildcard.java b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetSuperWildcard.java index bf16e143..52cc6dea 100644 --- a/src/main/java/de/dhbwstuttgart/target/tree/type/TargetSuperWildcard.java +++ b/src/main/java/de/dhbwstuttgart/target/tree/type/TargetSuperWildcard.java @@ -8,7 +8,7 @@ public record TargetSuperWildcard(TargetType innerType) implements TargetType { @Override public String toGenericSignature() { - return innerType.toGenericSignature(); + return "-" + innerType.toGenericSignature(); } @Override