MessageExpansionMessage.smali

.class public Lio/rong/message/MessageExpansionMessage;
.super Lio/rong/imlib/model/MessageContent;
.source "MessageExpansionMessage.java"


# annotations
.annotation runtime Lio/rong/imlib/MessageTag;
    flag = 0x0
    value = "RC:MsgExMsg"
.end annotation


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Landroid/os/Parcelable$Creator<",
            "Lio/rong/message/MessageExpansionMessage;",
            ">;"
        }
    .end annotation
.end field

.field private static final TAG:Ljava/lang/String; = "MessageExpansionMessage"


# instance fields
.field private originalMsgUId:Ljava/lang/String;

.field private removeAllKeys:Z

.field private removeExpansionKeyList:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field

.field private updateExpansion:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 1

    .line 1
    new-instance v0, Lio/rong/message/MessageExpansionMessage$1;

    invoke-direct {v0}, Lio/rong/message/MessageExpansionMessage$1;-><init>()V

    sput-object v0, Lio/rong/message/MessageExpansionMessage;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method private constructor <init>(Landroid/os/Parcel;)V
    .registers 3

    .line 11
    invoke-direct {p0}, Lio/rong/imlib/model/MessageContent;-><init>()V

    .line 12
    invoke-static {p1}, Lio/rong/common/ParcelUtils;->readFromParcel(Landroid/os/Parcel;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lio/rong/message/MessageExpansionMessage;->setOriginalMsgUId(Ljava/lang/String;)V

    .line 13
    invoke-static {p1}, Lio/rong/common/ParcelUtils;->readMapFromParcel(Landroid/os/Parcel;)Ljava/util/Map;

    move-result-object v0

    invoke-virtual {p0, v0}, Lio/rong/message/MessageExpansionMessage;->setUpdateExpansionDic(Ljava/util/Map;)V

    .line 14
    const-class v0, Ljava/lang/String;

    invoke-static {p1, v0}, Lio/rong/common/ParcelUtils;->readListFromParcel(Landroid/os/Parcel;Ljava/lang/Class;)Ljava/util/ArrayList;

    move-result-object v0

    invoke-virtual {p0, v0}, Lio/rong/message/MessageExpansionMessage;->setRemoveExpansionKeyList(Ljava/util/List;)V

    .line 15
    invoke-static {p1}, Lio/rong/common/ParcelUtils;->readIntFromParcel(Landroid/os/Parcel;)Ljava/lang/Integer;

    move-result-object p1

    invoke-virtual {p1}, Ljava/lang/Integer;->intValue()I

    move-result p1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_26

    goto :goto_27

    :cond_26
    const/4 v0, 0x0

    :goto_27
    invoke-virtual {p0, v0}, Lio/rong/message/MessageExpansionMessage;->setRemoveAllKeys(Z)V

    return-void
.end method

.method synthetic constructor <init>(Landroid/os/Parcel;Lio/rong/message/MessageExpansionMessage$1;)V
    .registers 3

    .line 1
    invoke-direct {p0, p1}, Lio/rong/message/MessageExpansionMessage;-><init>(Landroid/os/Parcel;)V

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;Ljava/util/List;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 2
    invoke-direct {p0}, Lio/rong/imlib/model/MessageContent;-><init>()V

    .line 3
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    .line 4
    iput-object p2, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;Ljava/util/Map;)V
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 8
    invoke-direct {p0}, Lio/rong/imlib/model/MessageContent;-><init>()V

    .line 9
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    .line 10
    iput-object p2, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    return-void
.end method

.method private constructor <init>(Ljava/lang/String;Z)V
    .registers 3

    .line 5
    invoke-direct {p0}, Lio/rong/imlib/model/MessageContent;-><init>()V

    .line 6
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    .line 7
    iput-boolean p2, p0, Lio/rong/message/MessageExpansionMessage;->removeAllKeys:Z

    return-void
.end method

.method public constructor <init>([B)V
    .registers 7

    const-string v0, "clear"

    const-string v1, "mid"

    const-string v2, "MessageExpansionMessage"

    .line 16
    invoke-direct {p0}, Lio/rong/imlib/model/MessageContent;-><init>()V

    .line 17
    :try_start_9
    new-instance v3, Ljava/lang/String;

    const-string v4, "UTF-8"

    invoke-direct {v3, p1, v4}, Ljava/lang/String;-><init>([BLjava/lang/String;)V
    :try_end_10
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_9 .. :try_end_10} :catch_11

    goto :goto_1a

    :catch_11
    move-exception p1

    .line 18
    invoke-virtual {p1}, Ljava/io/UnsupportedEncodingException;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v3, 0x0

    .line 19
    :goto_1a
    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result p1

    if-eqz p1, :cond_26

    const-string p1, "MessageExpansionMessage jsonStr is empty"

    .line 20
    invoke-static {v2, p1}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    return-void

    .line 21
    :cond_26
    :try_start_26
    new-instance p1, Lorg/json/JSONObject;

    invoke-direct {p1, v3}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 22
    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v3

    if-eqz v3, :cond_38

    .line 23
    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v1}, Lio/rong/message/MessageExpansionMessage;->setOriginalMsgUId(Ljava/lang/String;)V

    :cond_38
    const-string v1, "put"

    .line 24
    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_43

    .line 25
    invoke-direct {p0, p1}, Lio/rong/message/MessageExpansionMessage;->resolveExpansionDic(Lorg/json/JSONObject;)V

    :cond_43
    const-string v1, "del"

    .line 26
    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4e

    .line 27
    invoke-direct {p0, p1}, Lio/rong/message/MessageExpansionMessage;->resolveExpansionKeyList(Lorg/json/JSONObject;)V

    .line 28
    :cond_4e
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_69

    .line 29
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;)I

    move-result p1

    const/4 v0, 0x1

    if-ne p1, v0, :cond_5c

    goto :goto_5d

    :cond_5c
    const/4 v0, 0x0

    :goto_5d
    invoke-virtual {p0, v0}, Lio/rong/message/MessageExpansionMessage;->setRemoveAllKeys(Z)V
    :try_end_60
    .catch Lorg/json/JSONException; {:try_start_26 .. :try_end_60} :catch_61

    goto :goto_69

    :catch_61
    move-exception p1

    .line 30
    invoke-virtual {p1}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;

    move-result-object p1

    invoke-static {v2, p1}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    :cond_69
    :goto_69
    return-void
.end method

.method private getExpansionDicJSON()Lorg/json/JSONObject;
    .registers 5

    .line 1
    new-instance v0, Lorg/json/JSONObject;

    invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V

    .line 2
    iget-object v1, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    invoke-interface {v1}, Ljava/util/Map;->keySet()Ljava/util/Set;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;

    move-result-object v1

    .line 3
    :goto_f
    :try_start_f
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_25

    .line 4
    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Ljava/lang/String;

    .line 5
    iget-object v3, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    invoke-interface {v3, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    invoke-virtual {v0, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_24
    .catch Lorg/json/JSONException; {:try_start_f .. :try_end_24} :catch_26

    goto :goto_f

    :cond_25
    return-object v0

    :catch_26
    const/4 v0, 0x0

    return-object v0
.end method

.method private getRemoveExpansionKeyJSON()Lorg/json/JSONArray;
    .registers 3

    .line 1
    new-instance v0, Lorg/json/JSONArray;

    iget-object v1, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    invoke-direct {v0, v1}, Lorg/json/JSONArray;-><init>(Ljava/util/Collection;)V

    return-object v0
.end method

.method public static obtain(Ljava/lang/String;Ljava/util/List;)Lio/rong/message/MessageExpansionMessage;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)",
            "Lio/rong/message/MessageExpansionMessage;"
        }
    .end annotation

    .line 4
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_c

    .line 5
    new-instance v0, Lio/rong/message/MessageExpansionMessage;

    invoke-direct {v0, p0, p1}, Lio/rong/message/MessageExpansionMessage;-><init>(Ljava/lang/String;Ljava/util/List;)V

    return-object v0

    .line 6
    :cond_c
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string p1, "originalMsgUId is empty"

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method public static obtain(Ljava/lang/String;Ljava/util/Map;)Lio/rong/message/MessageExpansionMessage;
    .registers 3
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/lang/String;",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)",
            "Lio/rong/message/MessageExpansionMessage;"
        }
    .end annotation

    .line 1
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_c

    .line 2
    new-instance v0, Lio/rong/message/MessageExpansionMessage;

    invoke-direct {v0, p0, p1}, Lio/rong/message/MessageExpansionMessage;-><init>(Ljava/lang/String;Ljava/util/Map;)V

    return-object v0

    .line 3
    :cond_c
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string p1, "originalMsgUId is empty"

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method public static obtain(Ljava/lang/String;Z)Lio/rong/message/MessageExpansionMessage;
    .registers 3

    .line 7
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_c

    .line 8
    new-instance v0, Lio/rong/message/MessageExpansionMessage;

    invoke-direct {v0, p0, p1}, Lio/rong/message/MessageExpansionMessage;-><init>(Ljava/lang/String;Z)V

    return-object v0

    .line 9
    :cond_c
    new-instance p0, Ljava/lang/IllegalArgumentException;

    const-string p1, "originalMsgUId is empty"

    invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p0
.end method

.method private resolveExpansionDic(Lorg/json/JSONObject;)V
    .registers 6

    .line 1
    :try_start_0
    new-instance v0, Lorg/json/JSONObject;

    const-string v1, "put"

    invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 2
    invoke-virtual {v0}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;

    move-result-object p1

    .line 3
    :goto_f
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_3c

    .line 4
    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    .line 5
    invoke-virtual {v0, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    .line 6
    iget-object v3, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    if-nez v3, :cond_2c

    .line 7
    new-instance v3, Ljava/util/HashMap;

    invoke-direct {v3}, Ljava/util/HashMap;-><init>()V

    iput-object v3, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    .line 8
    :cond_2c
    iget-object v3, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    invoke-interface {v3, v1, v2}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_31
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_31} :catch_32

    goto :goto_f

    :catch_32
    move-exception p1

    .line 9
    invoke-virtual {p1}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;

    move-result-object p1

    const-string v0, "MessageExpansionMessage"

    invoke-static {v0, p1}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    :cond_3c
    return-void
.end method

.method private resolveExpansionKeyList(Lorg/json/JSONObject;)V
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lorg/json/JSONException;
        }
    .end annotation

    const-string v0, "del"

    .line 1
    invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object p1

    const/4 v0, 0x0

    .line 2
    :goto_7
    invoke-virtual {p1}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-ge v0, v1, :cond_24

    .line 3
    iget-object v1, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    if-nez v1, :cond_18

    .line 4
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    .line 5
    :cond_18
    iget-object v1, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    invoke-virtual {p1, v0}, Lorg/json/JSONArray;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_7

    :cond_24
    return-void
.end method


# virtual methods
.method public describeContents()I
    .registers 2

    const/4 v0, 0x0

    return v0
.end method

.method public encode()[B
    .registers 6

    const-string v0, "MessageExpansionMessage"

    .line 1
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V

    .line 2
    :try_start_7
    invoke-virtual {p0}, Lio/rong/message/MessageExpansionMessage;->getOriginalMsgUId()Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-nez v2, :cond_1a

    const-string v2, "mid"

    .line 3
    invoke-virtual {p0}, Lio/rong/message/MessageExpansionMessage;->getOriginalMsgUId()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    .line 4
    :cond_1a
    invoke-virtual {p0}, Lio/rong/message/MessageExpansionMessage;->getUpdateExpansion()Ljava/util/Map;

    move-result-object v2

    if-eqz v2, :cond_29

    const-string v2, "put"

    .line 5
    invoke-direct {p0}, Lio/rong/message/MessageExpansionMessage;->getExpansionDicJSON()Lorg/json/JSONObject;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    :cond_29
    const-string v2, "del"

    .line 6
    invoke-direct {p0}, Lio/rong/message/MessageExpansionMessage;->getRemoveExpansionKeyJSON()Lorg/json/JSONArray;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string v2, "clear"

    .line 7
    invoke-virtual {p0}, Lio/rong/message/MessageExpansionMessage;->isRemoveAllKeys()Z

    move-result v3

    if-eqz v3, :cond_3c

    const/4 v3, 0x1

    goto :goto_3d

    :cond_3c
    const/4 v3, 0x0

    :goto_3d
    invoke-virtual {v1, v2, v3}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
    :try_end_40
    .catch Lorg/json/JSONException; {:try_start_7 .. :try_end_40} :catch_41

    goto :goto_5a

    :catch_41
    move-exception v2

    .line 8
    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    const-string v4, "JSONException "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Lorg/json/JSONException;->getMessage()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-static {v0, v2}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 9
    :goto_5a
    :try_start_5a
    invoke-virtual {v1}, Lorg/json/JSONObject;->toString()Ljava/lang/String;

    move-result-object v1

    const-string v2, "UTF-8"

    invoke-virtual {v1, v2}, Ljava/lang/String;->getBytes(Ljava/lang/String;)[B

    move-result-object v0
    :try_end_64
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_5a .. :try_end_64} :catch_65

    return-object v0

    :catch_65
    move-exception v1

    const-string v2, "UnsupportedEncodingException"

    .line 10
    invoke-static {v0, v2, v1}, Lio/rong/common/RLog;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I

    const/4 v0, 0x0

    return-object v0
.end method

.method public getOriginalMsgUId()Ljava/lang/String;
    .registers 2

    .line 1
    iget-object v0, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    return-object v0
.end method

.method public getRemoveExpansionKeyList()Ljava/util/List;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    return-object v0
.end method

.method public getUpdateExpansion()Ljava/util/Map;
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;"
        }
    .end annotation

    .line 1
    iget-object v0, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    return-object v0
.end method

.method public isRemoveAllKeys()Z
    .registers 2

    .line 1
    iget-boolean v0, p0, Lio/rong/message/MessageExpansionMessage;->removeAllKeys:Z

    return v0
.end method

.method public setOriginalMsgUId(Ljava/lang/String;)V
    .registers 2

    .line 1
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    return-void
.end method

.method public setRemoveAllKeys(Z)V
    .registers 2

    .line 1
    iput-boolean p1, p0, Lio/rong/message/MessageExpansionMessage;->removeAllKeys:Z

    return-void
.end method

.method public setRemoveExpansionKeyList(Ljava/util/List;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 1
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    return-void
.end method

.method public setUpdateExpansionDic(Ljava/util/Map;)V
    .registers 2
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/Map<",
            "Ljava/lang/String;",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 1
    iput-object p1, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    return-void
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .registers 3

    .line 1
    iget-object p2, p0, Lio/rong/message/MessageExpansionMessage;->originalMsgUId:Ljava/lang/String;

    invoke-static {p1, p2}, Lio/rong/common/ParcelUtils;->writeToParcel(Landroid/os/Parcel;Ljava/lang/String;)V

    .line 2
    iget-object p2, p0, Lio/rong/message/MessageExpansionMessage;->updateExpansion:Ljava/util/Map;

    invoke-static {p1, p2}, Lio/rong/common/ParcelUtils;->writeToParcel(Landroid/os/Parcel;Ljava/util/Map;)V

    .line 3
    iget-object p2, p0, Lio/rong/message/MessageExpansionMessage;->removeExpansionKeyList:Ljava/util/List;

    invoke-static {p1, p2}, Lio/rong/common/ParcelUtils;->writeListToParcel(Landroid/os/Parcel;Ljava/util/List;)V

    .line 4
    iget-boolean p2, p0, Lio/rong/message/MessageExpansionMessage;->removeAllKeys:Z

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object p2

    invoke-static {p1, p2}, Lio/rong/common/ParcelUtils;->writeToParcel(Landroid/os/Parcel;Ljava/lang/Integer;)V

    return-void
.end method