Skip to content

Commit

Permalink
Convert com.facebook.react.bridge.JavaOnlyMap to Kotlin (#47416)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #47416

Changelog: [Internal]

Reviewed By: tdn120

Differential Revision: D65478448

fbshipit-source-id: 24e6732a80f5ee858fec5dbb38617e7dfad63f58
  • Loading branch information
javache authored and facebook-github-bot committed Nov 6, 2024
1 parent 3dec672 commit 1be0387
Show file tree
Hide file tree
Showing 5 changed files with 198 additions and 280 deletions.
18 changes: 13 additions & 5 deletions packages/react-native/ReactAndroid/api/ReactAndroid.api
Original file line number Diff line number Diff line change
Expand Up @@ -926,12 +926,14 @@ public class com/facebook/react/bridge/JavaOnlyArray : com/facebook/react/bridge
public fun toString ()Ljava/lang/String;
}

public class com/facebook/react/bridge/JavaOnlyMap : com/facebook/react/bridge/ReadableMap, com/facebook/react/bridge/WritableMap {
public final class com/facebook/react/bridge/JavaOnlyMap : com/facebook/react/bridge/ReadableMap, com/facebook/react/bridge/WritableMap {
public static final field Companion Lcom/facebook/react/bridge/JavaOnlyMap$Companion;
public fun <init> ()V
public synthetic fun <init> ([Ljava/lang/Object;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
public fun copy ()Lcom/facebook/react/bridge/WritableMap;
public static fun deepClone (Lcom/facebook/react/bridge/ReadableMap;)Lcom/facebook/react/bridge/JavaOnlyMap;
public static final fun deepClone (Lcom/facebook/react/bridge/ReadableMap;)Lcom/facebook/react/bridge/JavaOnlyMap;
public fun equals (Ljava/lang/Object;)Z
public static fun from (Ljava/util/Map;)Lcom/facebook/react/bridge/JavaOnlyMap;
public static final fun from (Ljava/util/Map;)Lcom/facebook/react/bridge/JavaOnlyMap;
public fun getArray (Ljava/lang/String;)Lcom/facebook/react/bridge/ReadableArray;
public fun getBoolean (Ljava/lang/String;)Z
public fun getDouble (Ljava/lang/String;)D
Expand All @@ -947,7 +949,7 @@ public class com/facebook/react/bridge/JavaOnlyMap : com/facebook/react/bridge/R
public fun isNull (Ljava/lang/String;)Z
public fun keySetIterator ()Lcom/facebook/react/bridge/ReadableMapKeySetIterator;
public fun merge (Lcom/facebook/react/bridge/ReadableMap;)V
public static fun of ([Ljava/lang/Object;)Lcom/facebook/react/bridge/JavaOnlyMap;
public static final fun of ([Ljava/lang/Object;)Lcom/facebook/react/bridge/JavaOnlyMap;
public fun putArray (Ljava/lang/String;Lcom/facebook/react/bridge/ReadableArray;)V
public fun putBoolean (Ljava/lang/String;Z)V
public fun putDouble (Ljava/lang/String;D)V
Expand All @@ -956,11 +958,17 @@ public class com/facebook/react/bridge/JavaOnlyMap : com/facebook/react/bridge/R
public fun putMap (Ljava/lang/String;Lcom/facebook/react/bridge/ReadableMap;)V
public fun putNull (Ljava/lang/String;)V
public fun putString (Ljava/lang/String;Ljava/lang/String;)V
public fun remove (Ljava/lang/String;)V
public final fun remove (Ljava/lang/String;)V
public fun toHashMap ()Ljava/util/HashMap;
public fun toString ()Ljava/lang/String;
}

public final class com/facebook/react/bridge/JavaOnlyMap$Companion {
public final fun deepClone (Lcom/facebook/react/bridge/ReadableMap;)Lcom/facebook/react/bridge/JavaOnlyMap;
public final fun from (Ljava/util/Map;)Lcom/facebook/react/bridge/JavaOnlyMap;
public final fun of ([Ljava/lang/Object;)Lcom/facebook/react/bridge/JavaOnlyMap;
}

public class com/facebook/react/bridge/JavaScriptContextHolder {
public fun <init> (J)V
public fun clear ()V
Expand Down

This file was deleted.

Loading

0 comments on commit 1be0387

Please sign in to comment.