mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
retrieve type from binary comparisons to detect applicable constants (IDEA-165557)
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
// "Import static constant 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
import static foo.B.aaaaaaa;
|
||||
|
||||
public class X {
|
||||
{
|
||||
if (1 == aaaaaaa);
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
public static Integer aaaaaaa = 1;
|
||||
}
|
||||
class B1 {
|
||||
public static String aaaaaaa = "";
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// "Import static constant 'foo.B.aaaaaaa'" "true"
|
||||
package foo;
|
||||
|
||||
public class X {
|
||||
{
|
||||
if (1 == <caret>aaaaaaa);
|
||||
}
|
||||
}
|
||||
|
||||
class B {
|
||||
public static Integer aaaaaaa = 1;
|
||||
}
|
||||
class B1 {
|
||||
public static String aaaaaaa = "";
|
||||
}
|
||||
Reference in New Issue
Block a user