Slide 35
Slide 35 text
Issue with Java Scope
public static Issue ISSUE = Issue.create(
"JacksonConstructorWithNonNullOrNullable",
"Should use @NotNull or @Nullable annotation",
"Without @NonNull or @Nullable annotations, it is not obvious to say a value is " +
"not null or nullable. It could make any wrong assumption. To avoid that, " +
"annotations should be used",
Category.CORRECTNESS,
6,
Severity.ERROR,
new Implementation(
JacksonConstructorNonNullJavaDetector.class,
Scope.JAVA_FILE_SCOPE
)
);