[java] IDEA-377335 Add configuration for "Redundant nullability annotation in the scope of annotated container"

#IDEA-377335 Fixed

Merge-request: IJ-MR-179742
Merged-by: Marcin Mikosik <marcin.mikosik@jetbrains.com>

GitOrigin-RevId: 8ea1a93c936c5fe2e84bcee578ac9d21f921535f
This commit is contained in:
Marcin Mikosik
2025-10-29 15:44:01 +00:00
committed by intellij-monorepo-bot
parent db58bd7659
commit 7881c922dc
6 changed files with 53 additions and 3 deletions
@@ -250,6 +250,7 @@ inspection.nullable.problems.primitive.type.annotation=Primitive type members ca
inspection.nullable.problems.nullable.instantiation.of.notnull=Non-null type parameter ''{0}'' cannot be instantiated with @{1} type
inspection.nullable.problems.nullable.instantiation.of.notnull.container=Non-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.turn.off.redundant.annotation.under.container=Don't report redundant nullability annotation in the scope of annotated container
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 non-null
inspection.nullable.problems.applied.to.package=Annotation on fully-qualified name must be placed before the last component