diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.kt similarity index 78% rename from packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.java rename to packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.kt index 2b9e919775d4ea..006958f9db2d6d 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/common/annotations/VisibleForTesting.kt @@ -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