mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
introduce constant/field: static/final should be set before actual add - anchor detection (IDEA-52969)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
public class Test {
|
||||
public static final String FIRST = "<selection>pref</selection>";
|
||||
public static final String SECOND = "pref";
|
||||
}
|
||||
|
||||
class AnotherTest {}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Test {
|
||||
public static final String FIRST = AnotherTest.xxx;
|
||||
public static final String SECOND = AnotherTest.xxx;
|
||||
}
|
||||
|
||||
class AnotherTest {
|
||||
static final String xxx = "pref";
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
public class Test{
|
||||
public static final String FIRST = "<selection>pref</selection>.FIRST";
|
||||
public static final String SECOND = "pref.SECOND";
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
public class Test{
|
||||
public static final String xxx = "pref";
|
||||
public static final String FIRST = xxx + ".FIRST";
|
||||
public static final String SECOND = xxx + ".SECOND";
|
||||
}
|
||||
Reference in New Issue
Block a user