mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
copy also nullable annotations when create constructor parameter from field (IDEA-164493)
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Add constructor parameter" "true"
|
||||
import org.jetbrains.annotations.*;
|
||||
class A {
|
||||
@Nullable private final Object field;
|
||||
|
||||
A(@Nullable Object field, String... strs) {
|
||||
this.field = field;
|
||||
}
|
||||
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Add constructor parameter" "true"
|
||||
import org.jetbrains.annotations.*;
|
||||
class A {
|
||||
@Nullable private final Object <caret>field;
|
||||
|
||||
A(String... strs) {
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user