IDEA-121071 Annotation param: autocomplete inverse of default value for boolean

GitOrigin-RevId: e708f1345377d8803c9f300039b19dcf6715a138
This commit is contained in:
Peter Gromov
2020-06-09 11:53:38 +03:00
committed by intellij-monorepo-bot
parent 9a8e82e631
commit aa1fde421a
5 changed files with 70 additions and 26 deletions
@@ -1,6 +1,6 @@
@interface Anno {
String myString() default "unknown";
boolean myBool() default false;
int myInt() default 42;
}
@Anno(<caret>)
@@ -0,0 +1,8 @@
@Anno(<caret>)
class C {
}
@interface Anno {
boolean value() default true;
boolean smth() default false;
}
@@ -0,0 +1,8 @@
@Anno(smth = true<caret>)
class C {
}
@interface Anno {
boolean value() default true;
boolean smth() default false;
}