[java] better error message when extends/implements list not allowed (IDEA-350501)

GitOrigin-RevId: 3eee3e73fe57a8dc7bf10b9b30956e02a36c89d8
This commit is contained in:
Bas Leijdekkers
2024-04-03 09:26:34 +02:00
committed by intellij-monorepo-bot
parent 0fc08dae0c
commit afb2aef0a1
4 changed files with 8 additions and 8 deletions

View File

@@ -102,8 +102,8 @@ unchecked.overriding.incompatible.return.type=Unchecked overriding: return type
interface.expected=Interface expected here
no.interface.expected=No interface expected here
class.expected=Class name expected here
implements.after.interface=No implements clause allowed for interface
extends.after.enum=No extends clause allowed for enum
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}''
enum.constant.must.implement.method=Enum constant ''{0}'' must implement abstract method ''{1}'' in ''{2}''
@@ -493,7 +493,7 @@ lvti.selfReferenced=Cannot infer type for ''{0}'', it is used in its own variabl
record.no.header=Record has no header declared
record.header.regular.class=Record header declared for non-record
record.extends=No extends clause allowed for record
record.extends='extends' not allowed on record
record.component.vararg.not.last=Vararg record component must be the last in the list
record.component.cstyle.declaration=C-style array declaration not allowed in record component
record.component.restricted.name=Illegal record component name ''{0}''