mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
extract method: annotate newly created method @Nullable when applicable (IDEA-76767)
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
class Test {
|
||||
@@ -11,6 +13,7 @@ class Test {
|
||||
}
|
||||
}
|
||||
|
||||
@Nullable
|
||||
private Pojo newMethod() {
|
||||
Pojo x = things.get(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user