File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -822,16 +822,22 @@ class Definitions {
822822 // create Symbols for the ones that are present, so they can be checked during nullification.
823823 @ tu lazy val NotNullAnnots : List [ClassSymbol ] = ctx.getClassesIfDefined(
824824 " javax.annotation.Nonnull" ::
825- " edu.umd.cs.findbugs.annotations.NonNull " ::
825+ " javax.validation.constraints.NotNull " ::
826826 " androidx.annotation.NonNull" ::
827827 " android.support.annotation.NonNull" ::
828828 " android.annotation.NonNull" ::
829829 " com.android.annotations.NonNull" ::
830830 " org.eclipse.jdt.annotation.NonNull" ::
831+ " edu.umd.cs.findbugs.annotations.NonNull" ::
831832 " org.checkerframework.checker.nullness.qual.NonNull" ::
832833 " org.checkerframework.checker.nullness.compatqual.NonNullDecl" ::
833834 " org.jetbrains.annotations.NotNull" ::
835+ " org.springframework.lang.NonNull" ::
836+ " org.springframework.lang.NonNullApi" ::
837+ " org.springframework.lang.NonNullFields" ::
834838 " lombok.NonNull" ::
839+ " reactor.util.annotation.NonNull" ::
840+ " reactor.util.annotation.NonNullApi" ::
835841 " io.reactivex.annotations.NonNull" :: Nil map PreNamedString )
836842
837843 // convenient one-parameter method types
You can’t perform that action at this time.
0 commit comments