mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
java 8: access static method through instance variable: don't show warning, error is enough; add quick fix for an error same as for inspection
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Access static 'I.m()' via class 'I' reference" "true"
|
||||
interface I {
|
||||
static void m() {}
|
||||
}
|
||||
|
||||
class A implements I {
|
||||
{
|
||||
I.m();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
// "Access static 'I.m()' via class 'I' reference" "true"
|
||||
interface I {
|
||||
static void m() {}
|
||||
}
|
||||
|
||||
class A implements I {
|
||||
{
|
||||
this.<caret>m();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user