mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-11 11:36:59 +07:00
Part of IDEA-365344 Create a new Java error highlighter with minimal dependencies (PSI only) GitOrigin-RevId: 2d04cceca2e5984f725590f69edc2ef2641619b0
15 lines
450 B
Java
15 lines
450 B
Java
|
|
interface ConflictWithObject {
|
|
<error descr="'notify()' cannot override 'notify()' in 'java.lang.Object'; overridden method is final">public Object notify();</error>
|
|
}
|
|
|
|
//--override final-------------------------------------------------------------------------
|
|
class base {
|
|
final void f() {}
|
|
}
|
|
class derived extends base {
|
|
|
|
<error descr="'f()' cannot override 'f()' in 'base'; overridden method is final">void f()</error> {}
|
|
|
|
}
|