[java] create annotation value() method from usage (IDEA-350345)

GitOrigin-RevId: 3596e1f35ce3f603789c69f90b28aacaf448866a
This commit is contained in:
Bas Leijdekkers
2024-04-01 10:40:16 +02:00
committed by intellij-monorepo-bot
parent 1fd9cf454d
commit 9414c123b8
9 changed files with 18 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "true-preview"
// "Create @interface method 'test()'" "true-preview"
public class Test {
@Attr(test= "")
public Test() {

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "true"
// "Create @interface method 'test()'" "true"
public class Test {
@Attr(test= {""})
public Test() {

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "true-preview"
// "Create @interface method 'test()'" "true-preview"
public class Test {
@Attr(te<caret>st= "")
public Test() {

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "true"
// "Create @interface method 'test()'" "true"
public class Test {
@Attr(te<caret>st= {""})
public Test() {

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "false"
// "Create @interface method 'test()'" "false"
public class Test {
@Attr(te<caret>st= {"", 1})
public Test() {

View File

@@ -1,4 +1,4 @@
// "Create method 'test'" "false"
// "Create @interface method 'test()'" "false"
public class Test {
@Attr(te<caret>st= {new String[]{""}})
public Test() {