diff --git a/infer/annotations/src/main/java/com/facebook/infer/annotation/NullsafeStrict.java b/infer/annotations/src/main/java/com/facebook/infer/annotation/NullsafeStrict.java index 0f5b0fae1..5452153b9 100644 --- a/infer/annotations/src/main/java/com/facebook/infer/annotation/NullsafeStrict.java +++ b/infer/annotations/src/main/java/com/facebook/infer/annotation/NullsafeStrict.java @@ -20,5 +20,5 @@ import java.lang.annotation.Target; * practice). */ @Retention(RetentionPolicy.CLASS) -@Target({ElementType.TYPE, ElementType.FIELD, ElementType.CONSTRUCTOR, ElementType.METHOD}) +@Target({ElementType.TYPE}) public @interface NullsafeStrict {}