Skip to content

Commit b0530f0

Browse files
mateoguzmanafacebook-github-bot
authored andcommitted
Migrate ModuleHolder to Kotlin (facebook#51997)
Summary: Migrate com.facebook.react.bridge.ModuleHolder to Kotlin. ## Changelog: [INTERNAL] - Migrate com.facebook.react.bridge.ModuleHolder to Kotlin Pull Request resolved: facebook#51997 Test Plan: ```bash yarn test-android yarn android ``` Reviewed By: javache Differential Revision: D76591704 Pulled By: cortinico fbshipit-source-id: adbf1375ae9999881ce75b7d73d8e0bb3a8a73f8
1 parent b417b0c commit b0530f0

File tree

3 files changed

+234
-255
lines changed

3 files changed

+234
-255
lines changed

packages/react-native/ReactAndroid/api/ReactAndroid.api

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -950,16 +950,16 @@ public abstract interface class com/facebook/react/bridge/MemoryPressureListener
950950
public abstract fun handleMemoryPressure (I)V
951951
}
952952

953-
public class com/facebook/react/bridge/ModuleHolder {
953+
public final class com/facebook/react/bridge/ModuleHolder {
954954
public fun <init> (Lcom/facebook/react/bridge/NativeModule;)V
955955
public fun <init> (Lcom/facebook/react/module/model/ReactModuleInfo;Ljavax/inject/Provider;)V
956-
public fun destroy ()V
957-
public fun getCanOverrideExistingModule ()Z
958-
public fun getClassName ()Ljava/lang/String;
959-
public fun getModule ()Lcom/facebook/react/bridge/NativeModule;
960-
public fun getName ()Ljava/lang/String;
961-
public fun isCxxModule ()Z
962-
public fun isTurboModule ()Z
956+
public final fun destroy ()V
957+
public final fun getCanOverrideExistingModule ()Z
958+
public final fun getClassName ()Ljava/lang/String;
959+
public final fun getModule ()Lcom/facebook/react/bridge/NativeModule;
960+
public final fun getName ()Ljava/lang/String;
961+
public final fun isCxxModule ()Z
962+
public final fun isTurboModule ()Z
963963
}
964964

965965
public final class com/facebook/react/bridge/ModuleSpec {

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/ModuleHolder.java

Lines changed: 0 additions & 247 deletions
This file was deleted.

0 commit comments

Comments
 (0)