parameter nullity annotation should have higher-priority than package-level ones

This commit is contained in:
peter
2014-02-10 18:34:10 +01:00
parent 4757fc901f
commit 750013c064
3 changed files with 33 additions and 7 deletions
@@ -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>) {}
};
}
}