From 591902d328715510eb2e2937ed47b3dfecdb05ba Mon Sep 17 00:00:00 2001 From: Dave Brosius Date: Thu, 31 Oct 2024 22:10:45 -0400 Subject: [PATCH] add jakarta.annotation.Nullable as a annotation --- .../java/com/mebigfatguy/fbcontrib/detect/AnnotationIssues.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/mebigfatguy/fbcontrib/detect/AnnotationIssues.java b/src/main/java/com/mebigfatguy/fbcontrib/detect/AnnotationIssues.java index 69d67621..c2a6b04b 100644 --- a/src/main/java/com/mebigfatguy/fbcontrib/detect/AnnotationIssues.java +++ b/src/main/java/com/mebigfatguy/fbcontrib/detect/AnnotationIssues.java @@ -91,6 +91,7 @@ public class AnnotationIssues extends BytecodeScanningDetector { static { NULLABLE_ANNOTATIONS.add("Lorg/jetbrains/annotations/Nullable;"); NULLABLE_ANNOTATIONS.add("Ljavax/annotation/Nullable;"); + NULLABLE_ANNOTATIONS.add("Ljakarta/annotation/Nullable;"); NULLABLE_ANNOTATIONS.add("Ljavax/annotation/CheckForNull;"); NULLABLE_ANNOTATIONS.add("Lcom/sun/istack/Nullable;"); NULLABLE_ANNOTATIONS.add("Ledu/umd/cs/findbugs/annotations/Nullable;");