mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
19 lines
262 B
Java
19 lines
262 B
Java
import org.jetbrains.annotations.NotNull;
|
|
import org.jetbrains.annotations.Nullable;
|
|
|
|
class A {
|
|
@Nullable
|
|
private final String xxxx = "";
|
|
|
|
@NotNull
|
|
public String getXxxx() {
|
|
return xxxx;
|
|
}
|
|
}
|
|
|
|
class B {
|
|
|
|
@NotNull
|
|
String x = new A().getXxxx();
|
|
}
|