diff --git a/platform/util/src/org/jetbrains/annotations/ReadOnly.java b/platform/util/src/org/jetbrains/annotations/ReadOnly.java index 29bb4b380876..33eddcbf0861 100644 --- a/platform/util/src/org/jetbrains/annotations/ReadOnly.java +++ b/platform/util/src/org/jetbrains/annotations/ReadOnly.java @@ -28,7 +28,7 @@ import java.lang.annotation.*; */ @Documented @Retention(RetentionPolicy.CLASS) -@Target({ElementType.METHOD, ElementType.FIELD, ElementType.LOCAL_VARIABLE}) +@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER, ElementType.LOCAL_VARIABLE}) @ApiStatus.Experimental public @interface ReadOnly { } \ No newline at end of file