689 lines
16 KiB
Smali
689 lines
16 KiB
Smali
.class public final Lcom/google/android/gms/internal/measurement/hp;
|
|
.super Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method private static a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/lang/StringBuffer;)V
|
|
.locals 12
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/IllegalAccessException;,
|
|
Ljava/lang/reflect/InvocationTargetException;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p1, :cond_15
|
|
|
|
instance-of v0, p1, Lcom/google/android/gms/internal/measurement/ho;
|
|
|
|
const/4 v1, 0x1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
invoke-virtual {p2}, Ljava/lang/StringBuffer;->length()I
|
|
|
|
move-result v0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuffer;->append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
|
|
|
|
invoke-static {p0}, Lcom/google/android/gms/internal/measurement/hp;->bI(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p3, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
const-string v3, " <\n"
|
|
|
|
invoke-virtual {p3, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
const-string v3, " "
|
|
|
|
invoke-virtual {p2, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getFields()[Ljava/lang/reflect/Field;
|
|
|
|
move-result-object v4
|
|
|
|
array-length v5, v4
|
|
|
|
const/4 v6, 0x0
|
|
|
|
:goto_0
|
|
if-ge v6, v5, :cond_4
|
|
|
|
aget-object v7, v4, v6
|
|
|
|
invoke-virtual {v7}, Ljava/lang/reflect/Field;->getModifiers()I
|
|
|
|
move-result v8
|
|
|
|
invoke-virtual {v7}, Ljava/lang/reflect/Field;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
const-string v10, "cachedSize"
|
|
|
|
invoke-virtual {v10, v9}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v10
|
|
|
|
if-nez v10, :cond_3
|
|
|
|
and-int/lit8 v10, v8, 0x1
|
|
|
|
if-ne v10, v1, :cond_3
|
|
|
|
and-int/lit8 v8, v8, 0x8
|
|
|
|
const/16 v10, 0x8
|
|
|
|
if-eq v8, v10, :cond_3
|
|
|
|
const-string v8, "_"
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v10
|
|
|
|
if-nez v10, :cond_3
|
|
|
|
invoke-virtual {v9, v8}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v8
|
|
|
|
if-nez v8, :cond_3
|
|
|
|
invoke-virtual {v7}, Ljava/lang/reflect/Field;->getType()Ljava/lang/Class;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v7, p1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->isArray()Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_2
|
|
|
|
invoke-virtual {v8}, Ljava/lang/Class;->getComponentType()Ljava/lang/Class;
|
|
|
|
move-result-object v8
|
|
|
|
sget-object v10, Ljava/lang/Byte;->TYPE:Ljava/lang/Class;
|
|
|
|
if-eq v8, v10, :cond_2
|
|
|
|
if-nez v7, :cond_1
|
|
|
|
const/4 v8, 0x0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-static {v7}, Ljava/lang/reflect/Array;->getLength(Ljava/lang/Object;)I
|
|
|
|
move-result v8
|
|
|
|
:goto_1
|
|
const/4 v10, 0x0
|
|
|
|
:goto_2
|
|
if-ge v10, v8, :cond_3
|
|
|
|
invoke-static {v7, v10}, Ljava/lang/reflect/Array;->get(Ljava/lang/Object;I)Ljava/lang/Object;
|
|
|
|
move-result-object v11
|
|
|
|
invoke-static {v9, v11, p2, p3}, Lcom/google/android/gms/internal/measurement/hp;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/lang/StringBuffer;)V
|
|
|
|
add-int/lit8 v10, v10, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
invoke-static {v9, v7, p2, p3}, Lcom/google/android/gms/internal/measurement/hp;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/lang/StringBuffer;)V
|
|
|
|
:cond_3
|
|
add-int/lit8 v6, v6, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_4
|
|
invoke-virtual {v3}, Ljava/lang/Class;->getMethods()[Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v1
|
|
|
|
array-length v4, v1
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_3
|
|
if-ge v5, v4, :cond_8
|
|
|
|
aget-object v6, v1, v5
|
|
|
|
invoke-virtual {v6}, Ljava/lang/reflect/Method;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const-string v7, "set"
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_7
|
|
|
|
const/4 v7, 0x3
|
|
|
|
invoke-virtual {v6, v7}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
:try_start_0
|
|
const-string v7, "has"
|
|
|
|
invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v8}, Ljava/lang/String;->length()I
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_5
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
new-instance v8, Ljava/lang/String;
|
|
|
|
invoke-direct {v8, v7}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
move-object v7, v8
|
|
|
|
:goto_4
|
|
new-array v8, v2, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {v3, v7, v8}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v7
|
|
:try_end_0
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
new-array v8, v2, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v7, p1, v8}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
check-cast v7, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {v7}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v7
|
|
|
|
if-eqz v7, :cond_7
|
|
|
|
:try_start_1
|
|
const-string v7, "get"
|
|
|
|
invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v8
|
|
|
|
invoke-virtual {v8}, Ljava/lang/String;->length()I
|
|
|
|
move-result v9
|
|
|
|
if-eqz v9, :cond_6
|
|
|
|
invoke-virtual {v7, v8}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
goto :goto_5
|
|
|
|
:cond_6
|
|
new-instance v8, Ljava/lang/String;
|
|
|
|
invoke-direct {v8, v7}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
move-object v7, v8
|
|
|
|
:goto_5
|
|
new-array v8, v2, [Ljava/lang/Class;
|
|
|
|
invoke-virtual {v3, v7, v8}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
|
|
|
|
move-result-object v7
|
|
:try_end_1
|
|
.catch Ljava/lang/NoSuchMethodException; {:try_start_1 .. :try_end_1} :catch_0
|
|
|
|
new-array v8, v2, [Ljava/lang/Object;
|
|
|
|
invoke-virtual {v7, p1, v8}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v7
|
|
|
|
invoke-static {v6, v7, p2, p3}, Lcom/google/android/gms/internal/measurement/hp;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/lang/StringBuffer;)V
|
|
|
|
:catch_0
|
|
:cond_7
|
|
add-int/lit8 v5, v5, 0x1
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
if-eqz p0, :cond_9
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/StringBuffer;->setLength(I)V
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuffer;->append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
|
|
|
|
const-string p0, ">\n"
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
:cond_9
|
|
return-void
|
|
|
|
:cond_a
|
|
invoke-static {p0}, Lcom/google/android/gms/internal/measurement/hp;->bI(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p3, p2}, Ljava/lang/StringBuffer;->append(Ljava/lang/StringBuffer;)Ljava/lang/StringBuffer;
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
const-string p0, ": "
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
instance-of p0, p1, Ljava/lang/String;
|
|
|
|
const/16 p2, 0x20
|
|
|
|
const/16 v0, 0x22
|
|
|
|
if-eqz p0, :cond_e
|
|
|
|
check-cast p1, Ljava/lang/String;
|
|
|
|
const-string p0, "http"
|
|
|
|
invoke-virtual {p1, p0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_b
|
|
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result p0
|
|
|
|
const/16 v3, 0xc8
|
|
|
|
if-le p0, v3, :cond_b
|
|
|
|
invoke-virtual {p1, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "[...]"
|
|
|
|
invoke-virtual {p0, p1}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
:cond_b
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result p0
|
|
|
|
new-instance v3, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v3, p0}, Ljava/lang/StringBuilder;-><init>(I)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
:goto_6
|
|
if-ge v4, p0, :cond_d
|
|
|
|
invoke-virtual {p1, v4}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v5
|
|
|
|
if-lt v5, p2, :cond_c
|
|
|
|
const/16 v6, 0x7e
|
|
|
|
if-gt v5, v6, :cond_c
|
|
|
|
if-eq v5, v0, :cond_c
|
|
|
|
const/16 v6, 0x27
|
|
|
|
if-eq v5, v6, :cond_c
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
goto :goto_7
|
|
|
|
:cond_c
|
|
new-array v6, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v5
|
|
|
|
aput-object v5, v6, v2
|
|
|
|
const-string v5, "\\u%04x"
|
|
|
|
invoke-static {v5, v6}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v3, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
:goto_7
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_6
|
|
|
|
:cond_d
|
|
invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "\""
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_b
|
|
|
|
:cond_e
|
|
instance-of p0, p1, [B
|
|
|
|
if-eqz p0, :cond_14
|
|
|
|
check-cast p1, [B
|
|
|
|
if-nez p1, :cond_f
|
|
|
|
const-string p0, "\"\""
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_b
|
|
|
|
:cond_f
|
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
const/4 p0, 0x0
|
|
|
|
:goto_8
|
|
array-length v3, p1
|
|
|
|
if-ge p0, v3, :cond_13
|
|
|
|
aget-byte v3, p1, p0
|
|
|
|
and-int/lit16 v3, v3, 0xff
|
|
|
|
const/16 v4, 0x5c
|
|
|
|
if-eq v3, v4, :cond_12
|
|
|
|
if-ne v3, v0, :cond_10
|
|
|
|
goto :goto_9
|
|
|
|
:cond_10
|
|
if-lt v3, p2, :cond_11
|
|
|
|
const/16 v4, 0x7f
|
|
|
|
if-ge v3, v4, :cond_11
|
|
|
|
int-to-char v3, v3
|
|
|
|
invoke-virtual {p3, v3}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_a
|
|
|
|
:cond_11
|
|
new-array v4, v1, [Ljava/lang/Object;
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v4, v2
|
|
|
|
const-string v3, "\\%03o"
|
|
|
|
invoke-static {v3, v4}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-virtual {p3, v3}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_a
|
|
|
|
:cond_12
|
|
:goto_9
|
|
invoke-virtual {p3, v4}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
int-to-char v3, v3
|
|
|
|
invoke-virtual {p3, v3}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
:goto_a
|
|
add-int/lit8 p0, p0, 0x1
|
|
|
|
goto :goto_8
|
|
|
|
:cond_13
|
|
invoke-virtual {p3, v0}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_b
|
|
|
|
:cond_14
|
|
invoke-virtual {p3, p1}, Ljava/lang/StringBuffer;->append(Ljava/lang/Object;)Ljava/lang/StringBuffer;
|
|
|
|
:goto_b
|
|
const-string p0, "\n"
|
|
|
|
invoke-virtual {p3, p0}, Ljava/lang/StringBuffer;->append(Ljava/lang/String;)Ljava/lang/StringBuffer;
|
|
|
|
:cond_15
|
|
return-void
|
|
.end method
|
|
|
|
.method private static bI(Ljava/lang/String;)Ljava/lang/String;
|
|
.locals 4
|
|
|
|
new-instance v0, Ljava/lang/StringBuffer;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuffer;-><init>()V
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
if-ge v1, v2, :cond_2
|
|
|
|
invoke-virtual {p0, v1}, Ljava/lang/String;->charAt(I)C
|
|
|
|
move-result v2
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
invoke-static {v2}, Ljava/lang/Character;->toLowerCase(C)C
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
invoke-static {v2}, Ljava/lang/Character;->isUpperCase(C)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
const/16 v3, 0x5f
|
|
|
|
invoke-virtual {v0, v3}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
invoke-static {v2}, Ljava/lang/Character;->toLowerCase(C)C
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
invoke-virtual {v0, v2}, Ljava/lang/StringBuffer;->append(C)Ljava/lang/StringBuffer;
|
|
|
|
:goto_1
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {v0}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static c(Lcom/google/android/gms/internal/measurement/ho;)Ljava/lang/String;
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Lcom/google/android/gms/internal/measurement/ho;",
|
|
">(TT;)",
|
|
"Ljava/lang/String;"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "Error printing proto: "
|
|
|
|
new-instance v1, Ljava/lang/StringBuffer;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuffer;-><init>()V
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:try_start_0
|
|
new-instance v3, Ljava/lang/StringBuffer;
|
|
|
|
invoke-direct {v3}, Ljava/lang/StringBuffer;-><init>()V
|
|
|
|
invoke-static {v2, p0, v3, v1}, Lcom/google/android/gms/internal/measurement/hp;->a(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/lang/StringBuffer;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/reflect/InvocationTargetException;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_0
|
|
new-instance p0, Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
|
|
:catch_1
|
|
move-exception p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/IllegalAccessException;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-static {p0}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
invoke-virtual {v0, p0}, Ljava/lang/String;->concat(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
|
|
:cond_1
|
|
new-instance p0, Ljava/lang/String;
|
|
|
|
invoke-direct {p0, v0}, Ljava/lang/String;-><init>(Ljava/lang/String;)V
|
|
|
|
return-object p0
|
|
.end method
|