Skip to content

Commit a7b0619

Browse files
mdvaccafacebook-github-bot
authored andcommitted
Introduce InteropLegacyArchitecture annotation (react#50906)
Summary: Pull Request resolved: react#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
1 parent 01cc16b commit a7b0619

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
package com.facebook.react.common.annotations.internal
9+
10+
/**
11+
* Annotation to mark classes or functions that are part of the interop APIs that provide support
12+
* for legacy architecture APIs in the new architecture of React Native.
13+
*/
14+
@Retention(AnnotationRetention.SOURCE)
15+
@Target(AnnotationTarget.CLASS, AnnotationTarget.FUNCTION)
16+
public annotation class InteropLegacyArchitecture()

0 commit comments

Comments
 (0)