Files
Tagir Valeevandintellij-monorepo-bot aafd05ff0c [java-inspections] When analyzing annotation conflict, ignore container annotation if non-container is present
Fixes IDEA-369220 JSpecify support - wrong warning when Nullable method is declared in NullMarked scope and overridden

GitOrigin-RevId: 50163bfda72bd1f583dda644c668b78859fac022
2025-04-03 09:13:42 +00:00

18 lines
290 B
Java

import org.jspecify.annotations.NullMarked;
import org.jspecify.annotations.Nullable;
class Main {
@NullMarked
interface Api {
@Nullable
<T> T call();
}
@NullMarked
static class Impl implements Api {
@Nullable
public <T> T call() {
return null;
}
}
}