mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
[java] nullability annotation copying logic restored; test added (IDEA-CR-6810)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Create field for parameter 'name'" "true"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class Test {
|
||||
private String myName;
|
||||
|
||||
void f(@NotNull String name) {
|
||||
myName = name;
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create field for parameter 'name'" "true"
|
||||
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class Test {
|
||||
void f(@NotNull String <caret>name) {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user