blob: 9a08ed20803f3f706f87d5e025dd52ec90376345 [file]
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
final class Alive {
@Nullable private transient Object elvis;
@NotNull
public Object smth() {
if (elvis != null) {
return elvis;
} else {
return <warning descr="'null' is returned by the method declared as @NotNull">null</warning>;
}
}
}