Migrate ModuleHolder to Kotlin (#51997)

Summary:
Migrate com.facebook.react.bridge.ModuleHolder to Kotlin.

## Changelog:

[INTERNAL] - Migrate com.facebook.react.bridge.ModuleHolder to Kotlin

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

Test Plan:
```bash
yarn test-android
yarn android
```

Reviewed By: javache

Differential Revision: D76591704

Pulled By: cortinico

fbshipit-source-id: adbf1375ae9999881ce75b7d73d8e0bb3a8a73f8
This commit is contained in:
Mateo Guzmán authored and Facebook GitHub Bot committed 2025-06-13 10:46:44 -07:00
1 parent b417b0c2d5
commit b0530f0abf
3 files changed
+234 -255

No files matched your search

@@ -950,16 +950,16 @@ public abstract interface class com/facebook/react/bridge/MemoryPressureListener
public abstract fun handleMemoryPressure (I)V
}
public class com/facebook/react/bridge/ModuleHolder {
public final class com/facebook/react/bridge/ModuleHolder {
public fun <init> (Lcom/facebook/react/bridge/NativeModule;)V
public fun <init> (Lcom/facebook/react/module/model/ReactModuleInfo;Ljavax/inject/Provider;)V
public fun destroy ()V
public fun getCanOverrideExistingModule ()Z
public fun getClassName ()Ljava/lang/String;
public fun getModule ()Lcom/facebook/react/bridge/NativeModule;
public fun getName ()Ljava/lang/String;
public fun isCxxModule ()Z
public fun isTurboModule ()Z
public final fun destroy ()V
public final fun getCanOverrideExistingModule ()Z
public final fun getClassName ()Ljava/lang/String;
public final fun getModule ()Lcom/facebook/react/bridge/NativeModule;
public final fun getName ()Ljava/lang/String;
public final fun isCxxModule ()Z
public final fun isTurboModule ()Z
}
public final class com/facebook/react/bridge/ModuleSpec {