mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 13:39:36 +07:00
formatter: field groups alignment: correctly process range (IDEA-98368; IDEA-98367)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
// "Create Field 'field'" "true"
|
||||
class A {
|
||||
public static final String NOTIFICATION_ENABLED = "NOTIFICATION_ENABLED";
|
||||
public static final String NOTIFICATION_DEVICE_NAME = "NOTIFICATION_DEVICE_NAME";
|
||||
public static String field;
|
||||
|
||||
public static String getString(String key)
|
||||
{
|
||||
return getString(key, "");
|
||||
}
|
||||
|
||||
public static String getString(String key, String defaultValue)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
{
|
||||
String s = A.field;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
// "Create Field 'field'" "true"
|
||||
class A {
|
||||
public static final String NOTIFICATION_ENABLED = "NOTIFICATION_ENABLED";
|
||||
public static final String NOTIFICATION_DEVICE_NAME = "NOTIFICATION_DEVICE_NAME";
|
||||
|
||||
public static String getString(String key)
|
||||
{
|
||||
return getString(key, "");
|
||||
}
|
||||
|
||||
public static String getString(String key, String defaultValue)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B {
|
||||
{
|
||||
String s = A.fi<caret>eld;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user