diff --git a/java/java-impl/src/META-INF/JavaPlugin.xml b/java/java-impl/src/META-INF/JavaPlugin.xml
index 0903aa242874..58f85900efdd 100644
--- a/java/java-impl/src/META-INF/JavaPlugin.xml
+++ b/java/java-impl/src/META-INF/JavaPlugin.xml
@@ -1376,6 +1376,12 @@
bundle="messages.JavaBundle"
key="inspection.redundant.explicit.close"
implementationClass="com.intellij.codeInspection.RedundantExplicitCloseInspection"/>
+
+
+Reports vararg method calls that use a ternary operator with mixed array and non-array branches.
+When compiled, both branches are wrapped in arrays. As a result, the array branch is turned into
+a two-dimensional array, which may indicate a problem.
+The quick-fix wraps the non-array branch in an array to prevent the compiler from doing the conversion.
+Example:
+
+// reported call
+method(condition ? new String[] {"arg1"} : "arg2");
+// after the quick-fix
+method(condition ? new String[] {"arg1"} : new String[] {"arg2"});
+