mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
parameter nullity annotation should have higher-priority than package-level ones
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import foo.*;
|
||||
|
||||
class B {
|
||||
{
|
||||
new NullableFunction() {
|
||||
public void fun(Object o) {}
|
||||
};
|
||||
new AnyFunction() {
|
||||
public void fun(Object <warning descr="Not annotated parameter overrides @NotNull parameter">o</warning>) {}
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user