IDEA-168048 Constructor parameters are generated with @Nonnull annotations even though the class is annotated with @ParametersAreNonnullByDefault

This commit is contained in:
peter
2018-07-28 06:42:08 -04:00
parent c25c0a138a
commit 93a28c65ee
4 changed files with 32 additions and 3 deletions
@@ -0,0 +1,10 @@
@foo.NonnullByDefault
class C {
Object o;
@javax.annotation.Nonnull String s;
public C(Object o, String s) {<caret>
this.o = o;
this.s = s;
}
}
@@ -0,0 +1,6 @@
@foo.NonnullByDefault
class C {
Object o;
@javax.annotation.Nonnull String s;
<caret>
}