mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] Put class name in quotation marks in sealed hierarchy error message
GitOrigin-RevId: 611f8cf8b738ecd1e2b915fbebd3948eefbbe82d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5b48c828b
commit
4e322147be
@@ -517,7 +517,7 @@ type.parameter.has.incompatible.upper.bounds=Type parameter {0} has incompatible
|
||||
safevarargs.not.allowed.on.methods.with.fixed.arity=@SafeVarargs is not allowed on methods with fixed arity
|
||||
functional.interface.must.not.be.sealed.error.description=Functional interface can''t be declared as ''{0}''
|
||||
sealed.type.inheritor.expected.modifiers={0}, {1} or {2} modifiers expected
|
||||
not.allowed.in.sealed.hierarchy={0} is not allowed in the sealed hierarchy
|
||||
not.allowed.in.sealed.hierarchy=''{0}'' is not allowed in the sealed hierarchy
|
||||
invalid.permits.clause=Invalid permits clause: ''{0}'' must be sealed
|
||||
invalid.permits.clause.direct.implementation=Invalid permits clause: ''{0}'' must directly {1, choice, 1#extend|2#implement} ''{2}''
|
||||
sealed.must.have.inheritors=Sealed class must have subclasses
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ sealed class A permits B {}
|
||||
sealed class B extends A permits C, D {}
|
||||
final class C extends B {}
|
||||
non-sealed class D extends B {}
|
||||
class E extends <error descr="E is not allowed in the sealed hierarchy">A</error> {}
|
||||
class E extends <error descr="'E' is not allowed in the sealed hierarchy">A</error> {}
|
||||
<error descr="Illegal combination of modifiers: 'sealed' and 'sealed'">sealed</error> <error descr="Illegal combination of modifiers: 'sealed' and 'sealed'">sealed</error> class SealedSealed {}
|
||||
<error descr="Illegal combination of modifiers: 'sealed' and 'non-sealed'">sealed</error> <error descr="Illegal combination of modifiers: 'non-sealed' and 'sealed'">non-sealed</error> class SealedNonSealed {}
|
||||
<error descr="Illegal combination of modifiers: 'sealed' and 'final'">sealed</error> <error descr="Illegal combination of modifiers: 'final' and 'sealed'">final</error> class SealedFinal {}
|
||||
|
||||
Reference in New Issue
Block a user