diff --git a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties index d9d6badb83d8..802d72a9225d 100644 --- a/java/java-psi-impl/resources/messages/JavaErrorBundle.properties +++ b/java/java-psi-impl/resources/messages/JavaErrorBundle.properties @@ -2,6 +2,8 @@ annotation.not.allowed.here=Annotations are not allowed here # suppress inspection "UnusedProperty" 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} annotation.annotation.type.expected=Annotation type expected annotation.duplicate.explained=Duplicate annotation. {0} @@ -44,10 +46,6 @@ generic.array.creation=Generic array creation not allowed cannot.create.array.with.empty.diamond=Array creation with '<>' not allowed array.creation.with.type.arguments=Array creation with type arguments not allowed diamond.operator.not.allowed.here=Diamond operator is not allowed here -generics.enum.may.not.have.type.parameters=Enum may not have type parameters -generics.annotation.members.may.not.have.type.parameters=@interface members may not have type parameters -annotation.may.not.have.type.parameters=@interface may not have type parameters -generics.duplicate.type.parameter=Duplicate type parameter: ''{0}'' generics.cannot.catch.type.parameters=Cannot catch type parameters generics.cannot.instanceof.type.parameters=Class or array expected illegal.generic.type.for.instanceof=Illegal generic type for instanceof @@ -55,8 +53,6 @@ unsafe.cast.in.instanceof=''{0}'' cannot be safely cast to ''{1}'' instanceof.pattern.supertype=Pattern type ''{0}'' is a supertype of expression type ''{1}'' instanceof.pattern.equals=Pattern type ''{0}'' is the same as expression type cannot.select.dot.class.from.type.variable=Cannot access class object of a type parameter -call.to.super.is.not.allowed.in.enum.constructor=Call to super is not allowed in enum constructor - bad.qualifier.in.super.method.reference.overridden=Bad type qualifier in default super call: method {0} is overridden in {1} bad.qualifier.in.super.method.reference.extended=Bad type qualifier in default super call: redundant interface {0} is extended by {1} @@ -65,35 +61,21 @@ vararg.cstyle.array.declaration=C-style array declaration not allowed in vararg modifiers.for.enum.constants=No modifiers allowed for enum constants generics.type.arguments.on.raw.type=Type arguments given on a raw type generics.type.arguments.on.raw.method=Type arguments given on a raw method -classes.extends.prohibited.super=Classes cannot directly extend ''{0}'' unchecked.overriding.incompatible.return.type=Unchecked overriding: return type requires unchecked conversion. Found ''{0}'', required ''{1}'' interface.expected=Interface expected here -no.interface.expected=No interface expected here class.expected=Class name expected here -implements.after.interface='implements' not allowed on interface -extends.after.enum='extends' not allowed on enum -permits.after.enum='permits' not allowed on enum class.must.be.abstract=Class ''{0}'' must either be declared abstract or implement abstract method ''{1}'' in ''{2}'' class.must.implement.method=Class ''{0}'' must implement abstract method ''{1}'' in ''{2}'' -duplicate.class.in.other.file=Duplicate class found in the file ''{0}'' -inheritance.from.final.class=Cannot inherit from {1, choice, 1#final class|2#enum|3#record|4#non-abstract value class} ''{0}'' -value.class.can.only.inherit=Value classes may only extend abstract value classes or 'java.lang.Object' package.name.file.path.mismatch=Package name ''{0}'' does not correspond to the file path ''{1}'' missing.package.statement=Missing package statement: ''{0}'' missing.package.statement.package.name.invalid=Missing package statement but package name ''{0}'' which corresponds to the file path is invalid -cyclic.inheritance=Cyclic inheritance involving ''{0}'' class.already.imported=''{0}'' is already defined in this compilation unit class.cannot.extend.multiple.classes=Class cannot extend multiple classes -not.allowed.in.interface=Not allowed in interface -qualified.new.of.static.class=Qualified new of static class -invalid.qualified.new=Invalid qualified new -class.name.expected=Class name expected no.enclosing.instance.in.scope=No enclosing instance of type ''{0}'' is in scope is.not.an.enclosing.class=''{0}'' is not an enclosing class local.class.referenced.from.other.switch.branch=Local class ''{0}'' cannot be referenced from another switch branch cannot.be.referenced.from.static.context=''{0}'' cannot be referenced from a static context -no.default.constructor.available=There is no parameterless constructor available in ''{0}'' missing.return.statement=Missing return statement unreachable.statement=Unreachable statement unreachable.statement.false.condition=Loop condition is always false making the loop body unreachable @@ -120,8 +102,6 @@ ambiguous.method.call=Ambiguous method call: both ''{0}'' and ''{1}'' match ambiguous.reference=Reference to ''{0}'' is ambiguous, both ''{1}'' and ''{2}'' match cannot.resolve.method=Cannot resolve method ''{0}'' ambiguous.method.call.no.match=Cannot resolve method ''{0}'' in ''{1}'' -missing.method.body.or.declare.abstract=Method body or 'abstract' modifier expected -missing.method.body=Method body expected abstract.method.in.non.abstract.class=Abstract method in non-abstract class missing.return.type=Invalid method declaration; return type required constructor.call.must.be.first.statement=Call to ''{0}'' must be first statement in constructor body @@ -158,15 +138,6 @@ incompatible.types.html.tooltip=\