[java] IDEA-373074 Improve SOUT templates for java 25

-delete todos

GitOrigin-RevId: 58071de495b345061cc5d17aea25780330d9d9ac
This commit is contained in:
Mikhail Pyltsin
2025-06-24 23:04:26 +00:00
committed by intellij-monorepo-bot
parent 26814db524
commit 2b4f45afea
2 changed files with 1 additions and 3 deletions
@@ -131,7 +131,6 @@ public final class TypeNullability {
TypeNullability::nullability, Collectors.mapping(TypeNullability::source, Collectors.toSet())));
Set<NullabilitySource> sources = map.get(Nullability.NOT_NULL);
if (sources != null) {
//todo?
return new TypeNullability(Nullability.NOT_NULL, NullabilitySource.multiSource(sources));
}
sources = map.get(Nullability.NULLABLE);
@@ -328,7 +328,7 @@ public final class GenericsUtil {
if (wildcardType.isSuper() && bound instanceof PsiIntersectionType) {
return PsiWildcardType.createUnbounded(manager);
}
//todo
final PsiType acceptedBound = bound.accept(this);
if (acceptedBound instanceof PsiWildcardType) {
if (((PsiWildcardType)acceptedBound).isExtends() != wildcardType.isExtends()) return PsiWildcardType.createUnbounded(manager);
@@ -394,7 +394,6 @@ public final class GenericsUtil {
PsiType componentType = transformed.getDeepComponentType();
if (componentType instanceof PsiWildcardType) {
componentType = ((PsiWildcardType)componentType).getExtendsBound();
//todo
return PsiTypesUtil.createArrayType(componentType, transformed.getArrayDimensions());
}
if (transformed instanceof PsiEllipsisType) {