mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
refactor: rewrite Inspector from Java to Kotlin (#50947)
Summary: Rewrite of the Inspector class from Java to Kotlin in scope of https://github.com/facebook/react-native/issues/50513 ## Changelog: [ANDROID] [CHANGED] - Migrated Inspector to Kotlin Pull Request resolved: https://github.com/facebook/react-native/pull/50947 Test Plan: Tested using RNTester app, on both old and new arch, and tested by navigating to multiple pages Reviewed By: cortinico Differential Revision: D73767386 Pulled By: javache fbshipit-source-id: e0098568aa0ed9863503e206a88d3b171c8f9966
This commit is contained in:
1 parent
0e963aaa54
commit
93efaeb241
3 files changed
+94
-122
No files matched your search
@@ -737,20 +737,26 @@ public abstract class com/facebook/react/bridge/GuardedRunnable : java/lang/Runn
|
||||
public abstract fun runGuarded ()V
|
||||
}
|
||||
|
||||
public class com/facebook/react/bridge/Inspector {
|
||||
public static fun connect (ILcom/facebook/react/bridge/Inspector$RemoteConnection;)Lcom/facebook/react/bridge/Inspector$LocalConnection;
|
||||
public static fun getPages ()Ljava/util/List;
|
||||
public final class com/facebook/react/bridge/Inspector {
|
||||
public static final field Companion Lcom/facebook/react/bridge/Inspector$Companion;
|
||||
public static final fun connect (ILcom/facebook/react/bridge/Inspector$RemoteConnection;)Lcom/facebook/react/bridge/Inspector$LocalConnection;
|
||||
public static final fun getPages ()Ljava/util/List;
|
||||
}
|
||||
|
||||
public class com/facebook/react/bridge/Inspector$LocalConnection {
|
||||
public fun disconnect ()V
|
||||
public fun sendMessage (Ljava/lang/String;)V
|
||||
public final class com/facebook/react/bridge/Inspector$Companion {
|
||||
public final fun connect (ILcom/facebook/react/bridge/Inspector$RemoteConnection;)Lcom/facebook/react/bridge/Inspector$LocalConnection;
|
||||
public final fun getPages ()Ljava/util/List;
|
||||
}
|
||||
|
||||
public class com/facebook/react/bridge/Inspector$Page {
|
||||
public fun getId ()I
|
||||
public fun getTitle ()Ljava/lang/String;
|
||||
public fun getVM ()Ljava/lang/String;
|
||||
public final class com/facebook/react/bridge/Inspector$LocalConnection {
|
||||
public final fun disconnect ()V
|
||||
public final fun sendMessage (Ljava/lang/String;)V
|
||||
}
|
||||
|
||||
public final class com/facebook/react/bridge/Inspector$Page {
|
||||
public final fun getId ()I
|
||||
public final fun getTitle ()Ljava/lang/String;
|
||||
public final fun getVM ()Ljava/lang/String;
|
||||
public fun toString ()Ljava/lang/String;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user