mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-26 20:50:54 +07:00
14 lines
241 B
Java
14 lines
241 B
Java
import org.jetbrains.annotations.NotNull;
|
|
|
|
class Test {
|
|
@NotNull
|
|
public String noNull(@NotNull String text) {
|
|
assert text != null;
|
|
return "";
|
|
}
|
|
|
|
private void foo() {
|
|
@NotNull String str = "";
|
|
assert str != null;
|
|
}
|
|
} |