mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
fixture-based NullableStuffInspectionTest
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import org.jetbrains.annotations.*;
|
||||
|
||||
class Test {
|
||||
@NotNull
|
||||
String text;
|
||||
|
||||
public Test(@Nullable String a)
|
||||
{
|
||||
if (a == null)
|
||||
this.text = "test";
|
||||
else
|
||||
this.text = a;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user