From 8d91285266915d990035f16a106e5e240ae46b20 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Wed, 26 Feb 2025 13:22:43 +0100 Subject: [PATCH] [java-highlighting] Restore properties used in third-party plugin Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: c3b899fbe86d2dc1669e1f4023a6329e4e67a288 --- .../resources/messages/JavaErrorBundle.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties index 935c834948f3..a7cecc1446cd 100644 --- a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties +++ b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties @@ -3,6 +3,8 @@ annotation.missing.method=Cannot find @interface method ''{0}()'' # suppress inspection "UnusedProperty" annotation.unknown.method=Cannot find @interface method ''{0}()'' annotation.not.applicable=''@{0}'' not applicable to {1} +# suppress inspection "UnusedProperty" +annotation.annotation.type.expected=Annotation type expected generics.wrong.number.of.type.arguments=Wrong number of type arguments: {0}; required: {1} generics.type.argument.cannot.be.of.primitive.type=Type argument cannot be of primitive type generics.unchecked.assignment=Unchecked assignment: ''{0}'' to ''{1}'' @@ -43,6 +45,8 @@ unhandled.exceptions=Unhandled {1, choice, 0#exception|2#exceptions}: {0} variable.already.defined=Variable ''{0}'' is already defined in the scope not.a.statement=Not a statement invalid.statement=Invalid statement +# suppress inspection "UnusedProperty" +incompatible.types=Incompatible types. Found: ''{1}'', required: ''{0}'' incompatible.types.reason.ambiguous.method.reference=
reason: method reference is ambiguous: both ''{0}'' and ''{1}'' match switch.illegal.fall.through.to=Illegal fall-through to a pattern invalid.case.label.combination.constants.and.patterns=Invalid case label combination: a case label must consist of either a list of case constants or a single case pattern