Migrate VisibleForTesting to kotlin (#37241)

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

EZ diff that migrates VisibleForTesting interface to kotlin

There are just 2 files into the annotations package, now both will be written in kotlin

bypass-github-export-checks

changelog: [internal] internal

Reviewed By: cortinico, yungsters

Differential Revision: D45454643

fbshipit-source-id: 7d3ac9f85141f720a201ca81102336e16758ea30
This commit is contained in:
David Vacca
2023-05-03 21:11:37 -07:00
committed by Facebook GitHub Bot
parent 43bd29fb22
commit c52f38eb7b
@@ -5,10 +5,11 @@
* LICENSE file in the root directory of this source tree.
*/
package com.facebook.react.common.annotations;
package com.facebook.react.common.annotations
/**
* Annotates a method that should have restricted visibility but it's required to be public for use
* in test code only.
*/
public @interface VisibleForTesting {}
annotation class VisibleForTesting