[java-inspections] IDEA-376188 Report redundant non-null annotation on a type parameter instance when its upper bound is already non-null

GitOrigin-RevId: 04d62987d77f30d0a558cd06450c925e13c102d7
This commit is contained in:
Tagir Valeev
2025-07-21 16:23:11 +00:00
committed by intellij-monorepo-bot
parent 6c4588dba5
commit 2ce7f33204
3 changed files with 29 additions and 0 deletions
@@ -243,6 +243,7 @@ inspection.nullable.problems.primitive.type.annotation=Primitive type members ca
inspection.nullable.problems.nullable.instantiation.of.notnull=Not-null type parameter ''{0}'' cannot be instantiated with @{1} type
inspection.nullable.problems.nullable.instantiation.of.notnull.container=Not-null type parameter ''{0}'' cannot be instantiated under @{1}
inspection.nullable.problems.redundant.annotation.under.container=Redundant nullability annotation in the scope of @{0}
inspection.nullable.problems.redundant.annotation.inherited.notnull=Redundant nullability annotation: type parameter upper bound is already non-null
inspection.nullable.problems.receiver.annotation=Receiver parameter is inherently not-null
inspection.nullable.problems.applied.to.package=Annotation on fully-qualified name must be placed before the last component
inspection.nullable.problems.outer.type=Outer type is inherently not-null