Tweak visibility of fields inside NativeModuleRegistry (#51810)

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

Tweaking the visiblity of some of the fields `NativeModuleRegistry` after the Kotlin migration
of that class.

Changelog:
[Internal] [Changed] -

Reviewed By: javache

Differential Revision: D75959962

fbshipit-source-id: b3d53fc29af3b0fe32a7bd6a61898814acf90123
This commit is contained in:
Nicola Corti authored and Facebook GitHub Bot committed 2025-06-04 11:19:10 -07:00
1 parent 2ec21b4679
commit c7bbf120e3
2 files changed
+15 -8

No files matched your search

@@ -1003,15 +1003,11 @@ public abstract interface class com/facebook/react/bridge/NativeModule {
public final class com/facebook/react/bridge/NativeModuleRegistry {
public fun <init> (Lcom/facebook/react/bridge/ReactApplicationContext;Ljava/util/Map;)V
public final fun getAllModules ()Ljava/util/List;
public final fun getCxxModules ()Ljava/util/List;
public final fun getModule (Ljava/lang/Class;)Lcom/facebook/react/bridge/NativeModule;
public final fun getModule (Ljava/lang/String;)Lcom/facebook/react/bridge/NativeModule;
public final fun hasModule (Ljava/lang/Class;)Z
public final fun hasModule (Ljava/lang/String;)Z
public final fun notifyJSInstanceDestroy ()V
public final fun notifyJSInstanceInitialized ()V
public final fun onBatchComplete ()V
public final fun registerModules (Lcom/facebook/react/bridge/NativeModuleRegistry;)V
}
public final class com/facebook/react/bridge/NoSuchKeyException : java/lang/RuntimeException {