Don't drop wildcards

This commit is contained in:
Vic Nightfall 2022-11-13 14:38:21 +01:00
parent 4307371dee
commit be1c356a9f
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ public record TargetExtendsWildcard(TargetType innerType) implements TargetType
@Override
public String toGenericSignature() {
return innerType.toGenericSignature();
return "+" + innerType.toGenericSignature();
}
@Override

View File

@ -8,7 +8,7 @@ public record TargetSuperWildcard(TargetType innerType) implements TargetType {
@Override
public String toGenericSignature() {
return innerType.toGenericSignature();
return "-" + innerType.toGenericSignature();
}
@Override