blob: ce33b7968c4c722b93ab940e7c695685f9ce82b9 [file]
import org.jetbrains.annotations.NotNull;
class Example {
interface Listener {
void notify(@NotNull String value);
}
public static void main(String[] args) {
Listener l = value -> {
if (<warning descr="Condition 'value != null' is always 'true'">value != null</warning>) {
System.out.println(value);
}
};
}
}