mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Mark uimanager annotations as deprecated in new architecture
Summary: This diff marks uimanager annotations as deprecated in new architecture becasue we've decided the native codegen will not be addopted in new architecture bypass-github-export-checks changelog: [internal] internal Reviewed By: rshest Differential Revision: D51262580 fbshipit-source-id: 1248117ca697c612c89062fcee56788cce40a1ae
This commit is contained in:
committed by
Facebook GitHub Bot
parent
40a99c9345
commit
2aeeb806f1
+2
@@ -10,6 +10,7 @@ package com.facebook.react.uimanager.annotations;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.Target;
|
||||
@@ -46,6 +47,7 @@ import java.lang.annotation.Target;
|
||||
*/
|
||||
@Retention(RUNTIME)
|
||||
@Target(ElementType.METHOD)
|
||||
@DeprecatedInNewArchitecture
|
||||
public @interface ReactProp {
|
||||
|
||||
// Used as a default value for "customType" property as "null" is not allowed. Moreover, when this
|
||||
|
||||
+2
@@ -10,6 +10,7 @@ package com.facebook.react.uimanager.annotations;
|
||||
import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.Target;
|
||||
@@ -40,6 +41,7 @@ import java.lang.annotation.Target;
|
||||
* provided as a default.
|
||||
*/
|
||||
@Retention(RUNTIME)
|
||||
@DeprecatedInNewArchitecture
|
||||
@Target(ElementType.METHOD)
|
||||
public @interface ReactPropGroup {
|
||||
|
||||
|
||||
+2
@@ -7,6 +7,7 @@
|
||||
|
||||
package com.facebook.react.uimanager.annotations;
|
||||
|
||||
import com.facebook.react.common.annotations.DeprecatedInNewArchitecture;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
@@ -16,4 +17,5 @@ import java.lang.annotation.Target;
|
||||
@Inherited
|
||||
@Retention(RetentionPolicy.CLASS)
|
||||
@Target(ElementType.TYPE)
|
||||
@DeprecatedInNewArchitecture
|
||||
public @interface ReactPropertyHolder {}
|
||||
|
||||
Reference in New Issue
Block a user