From 97c4fb99c491af01c58e8a13b3cc256a33bebeb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pociecha-=C5=81o=C5=9B?= Date: Mon, 12 Jan 2026 06:57:16 -0800 Subject: [PATCH] Change retention of `@Property` annotation from `SOURCE` to `CLASS`: - it makes it consistent with `@ObjectiveCName` annotation which is also `CLASS`, - it's necessary for J2CL to read this annotation from `.class` files. PiperOrigin-RevId: 855210368 --- .../src/main/java/com/google/j2objc/annotations/Property.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/annotations/src/main/java/com/google/j2objc/annotations/Property.java b/annotations/src/main/java/com/google/j2objc/annotations/Property.java index 352d34216b..93d6e65f78 100644 --- a/annotations/src/main/java/com/google/j2objc/annotations/Property.java +++ b/annotations/src/main/java/com/google/j2objc/annotations/Property.java @@ -70,7 +70,7 @@ * @author Harry Cheung */ @Documented -@Retention(RetentionPolicy.SOURCE) +@Retention(RetentionPolicy.CLASS) @Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE}) public @interface Property {