mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
smart primitive constant completion to work in binary expressions like |
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class Foo {
|
||||
public static final int FOO_FOO;
|
||||
public static final int FOO_BAR;
|
||||
|
||||
Foo(int a) {}
|
||||
|
||||
void foo(int x);
|
||||
}
|
||||
|
||||
public class Bar {
|
||||
|
||||
{
|
||||
new Foo(2 | Foo.FOO_BAR<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
class Foo {
|
||||
public static final int FOO_FOO;
|
||||
public static final int FOO_BAR;
|
||||
|
||||
Foo(int a) {}
|
||||
|
||||
void foo(int x);
|
||||
}
|
||||
|
||||
public class Bar {
|
||||
|
||||
{
|
||||
new Foo(2 | FB<caret>)
|
||||
}
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
class Foo {
|
||||
public static final int FOO_FOO;
|
||||
public static final int FOO_BAR;
|
||||
|
||||
Foo(int a) {}
|
||||
|
||||
void foo(int x);
|
||||
}
|
||||
|
||||
public class Bar {
|
||||
|
||||
{
|
||||
new Foo(2 + Foo.FOO_BAR<caret>)
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
class Foo {
|
||||
public static final int FOO_FOO;
|
||||
public static final int FOO_BAR;
|
||||
|
||||
Foo(int a) {}
|
||||
|
||||
void foo(int x);
|
||||
}
|
||||
|
||||
public class Bar {
|
||||
|
||||
{
|
||||
new Foo(2 + FB<caret>)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user