mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
[java-completion] Complete statement: complete to method instead of field
Fixes IDEA-23781 Complete statement: missing method body GitOrigin-RevId: 8d37de51bc4e90f36fbf2bbb30e0e50edc79f763
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5838faa84
commit
6c28bb7296
@@ -1,6 +1,7 @@
|
||||
public class Test {
|
||||
|
||||
private String s;<caret>
|
||||
private String s(<caret>) {
|
||||
}
|
||||
|
||||
@Deprecated private String foo;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class FieldWithEquals {
|
||||
int test=<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class FieldWithEquals {
|
||||
int test = <caret>;
|
||||
}
|
||||
@@ -1,3 +1,4 @@
|
||||
public class Test {
|
||||
String s;<caret>
|
||||
String s(<caret>) {
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class FieldWithEquals {
|
||||
static final int foo<caret>
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
public class FieldWithEquals {
|
||||
static final int foo;<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user