IDEA-196951 Delete empty parenthesis when replacing a method call with a (constant) field reference

GitOrigin-RevId: 190dd5c4af0a50ce3019fd9bbefd386865e7e3f9
This commit is contained in:
peter
2019-09-30 10:32:59 +00:00
committed by intellij-monorepo-bot
parent 9dc70cc524
commit e3367716c0
4 changed files with 44 additions and 4 deletions
@@ -0,0 +1,10 @@
public class Util {
int goo(C c) {
return c.VA<caret>getValue();
}
}
class C {
static final int VALUE = 2;
static int getValue() {}
}
@@ -0,0 +1,10 @@
public class Util {
int goo(C c) {
return c.VALUE<caret>;
}
}
class C {
static final int VALUE = 2;
static int getValue() {}
}