mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
CreateFromUsageUtils#getExpectedInformation: support parenthesized expressions
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
// "Create enum constant 'A'" "true"
|
||||
|
||||
public enum E {
|
||||
A;
|
||||
|
||||
public static final Foo QQQ;
|
||||
|
||||
static {
|
||||
QQQ = new Foo(A.BAR);
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public static final int BAR = 0;
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
// "Create enum constant 'A'" "true"
|
||||
|
||||
public enum E {
|
||||
A;
|
||||
|
||||
public static final Foo QQQ;
|
||||
|
||||
static {
|
||||
QQQ = new Foo((A.BAR));
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public static final int BAR = 0;
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// "Create enum constant 'A'" "true"
|
||||
|
||||
public enum E {;
|
||||
|
||||
public static final Foo QQQ;
|
||||
|
||||
static {
|
||||
QQQ = new Foo(<caret>A.BAR);
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public static final int BAR = 0;
|
||||
}
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// "Create enum constant 'A'" "true"
|
||||
|
||||
public enum E {;
|
||||
|
||||
public static final Foo QQQ;
|
||||
|
||||
static {
|
||||
QQQ = new Foo((<caret>A.BAR));
|
||||
}
|
||||
}
|
||||
|
||||
class Bar {
|
||||
public static final int BAR = 0;
|
||||
}
|
||||
Reference in New Issue
Block a user