mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
introduce constant: add after dependant code (IDEA-66414)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class Test {
|
||||
|
||||
public void foo(){
|
||||
System.out.println(<selection>const1.charAt(0)</selection>);
|
||||
}
|
||||
|
||||
public static final String const1 = "";
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
|
||||
public void foo(){
|
||||
System.out.println(xxx);
|
||||
}
|
||||
|
||||
public static final String const1 = "";
|
||||
public static final char xxx = const1.charAt(0);
|
||||
}
|
||||
Reference in New Issue
Block a user