Introduce InteropLegacyArchitecture annotation (#50906)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/50906

Annotation to mark classes or functions that are part of the interop APIs that provide support for legacy architecture APIs in the new architecture of React Native .

changelog: [internal] internal

Reviewed By: shwanton

Differential Revision: D73407613

fbshipit-source-id: 887a14ca4dea891b50e7df01e0ffff5064cd43ea
This commit is contained in:
David Vacca
2025-04-24 22:06:30 -07:00
committed by Facebook GitHub Bot
parent 01cc16bbfe
commit a7b0619846
@@ -0,0 +1,16 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.common.annotations.internal
/**
* Annotation to mark classes or functions that are part of the interop APIs that provide support
* for legacy architecture APIs in the new architecture of React Native.
*/
@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
public annotation class InteropLegacyArchitecture()