mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
[java] disallow extracting super expression (IDEA-340915)
GitOrigin-RevId: cb698e271e04767dead0a72d7a70cb3a537af614
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a71e4ae799
commit
6583f8ee65
@@ -1,9 +0,0 @@
|
||||
class TestClass {
|
||||
}
|
||||
public static final String s;
|
||||
|
||||
static {
|
||||
String foo = "foo";
|
||||
s = foo.trim();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
public void £() {
|
||||
}
|
||||
}
|
||||
|
||||
class B extends A {
|
||||
public void c() {
|
||||
<selection>super</selection>.£(); //select `super` and extract variable
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user