mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
SortContentAction: replace with proper annotation member value instead of expression : IDEA-224254
GitOrigin-RevId: 687fc8771babc84d3ebc07ad4fe04c4543fed36e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2a3a1f57a5
commit
9b798e3ece
+19
@@ -0,0 +1,19 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
interface A {
|
||||
|
||||
// @formatter:off
|
||||
|
||||
int TO_UPPER = 0;
|
||||
int TO_LOWER = 1;
|
||||
int DO_NOT_CHANGE = 2;
|
||||
int TO_TITLE = 5;
|
||||
|
||||
@Anno(intValues = {TO_UPPER,TO_LOWER,DO_NOT_CHANGE,TO_TITLE})
|
||||
void foo();
|
||||
|
||||
@interface Anno {
|
||||
int[] intValues();
|
||||
}
|
||||
|
||||
}
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
// "Sort content" "true"
|
||||
|
||||
interface A {
|
||||
|
||||
// @formatter:off
|
||||
|
||||
int TO_UPPER = 0;
|
||||
int TO_LOWER = 1;
|
||||
int DO_NOT_CHANGE = 2;
|
||||
int TO_TITLE = 5;
|
||||
|
||||
@Anno(intValues = {TO_UPPER, <caret>TO_LOWER, TO_TITLE, DO_NOT_CHANGE})
|
||||
void foo();
|
||||
|
||||
@interface Anno {
|
||||
int[] intValues();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user