mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
insert same notnull annotation as exist on the existing field (IDEA-79436)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Add constructor parameter" "true"
|
||||
class A {
|
||||
@javax.annotation.Nonnull private final Object field;
|
||||
|
||||
A(@javax.annotation.Nonnull Object field, String... strs) {
|
||||
this.field = field;<caret>
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
// "Add constructor parameter" "true"
|
||||
class A {
|
||||
@javax.annotation.Nonnull private final Object <caret>field;
|
||||
|
||||
A(String... strs) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user