Skip to content

Commit 15bd46b

Browse files
micapolos-googlecopybara-github
authored andcommitted
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: 854091995
1 parent d7d4c35 commit 15bd46b

File tree

1 file changed

+1
-1
lines changed
  • annotations/src/main/java/com/google/j2objc/annotations

1 file changed

+1
-1
lines changed

annotations/src/main/java/com/google/j2objc/annotations/Property.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* @author Harry Cheung
7171
*/
7272
@Documented
73-
@Retention(RetentionPolicy.SOURCE)
73+
@Retention(RetentionPolicy.CLASS)
7474
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.TYPE})
7575
public @interface Property {
7676

0 commit comments

Comments
 (0)