mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
create from usage: do not suggest to create static methods in interfaces (IDEA-98147)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// "Create Method 'f'" "true"
|
||||
interface I {}
|
||||
class A implements I {
|
||||
{
|
||||
A.f();
|
||||
}
|
||||
|
||||
private static void f() {
|
||||
<selection>//To change body of created methods use File | Settings | File Templates.</selection>
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
// "Create Method 'f'" "true"
|
||||
interface I {}
|
||||
class A implements I {
|
||||
{
|
||||
A.<caret>f();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user