今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

489 lines
11 KiB

.class public abstract Lcom/google/gson/JsonElement;
.super Ljava/lang/Object;
.source "JsonElement.java"
# direct methods
.method public constructor <init>()V
.locals 0
.prologue
.line 33
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method abstract deepCopy()Lcom/google/gson/JsonElement;
.end method
.method public getAsBigDecimal()Ljava/math/BigDecimal;
.locals 2
.prologue
.line 285
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsBigInteger()Ljava/math/BigInteger;
.locals 2
.prologue
.line 299
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsBoolean()Z
.locals 2
.prologue
.line 152
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method getAsBooleanWrapper()Ljava/lang/Boolean;
.locals 2
.prologue
.line 165
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsByte()B
.locals 2
.prologue
.line 257
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsCharacter()C
.locals 2
.prologue
.line 271
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsDouble()D
.locals 2
.prologue
.line 204
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsFloat()F
.locals 2
.prologue
.line 217
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsInt()I
.locals 2
.prologue
.line 243
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsJsonArray()Lcom/google/gson/JsonArray;
.locals 2
.prologue
.line 103
invoke-virtual {p0}, Lcom/google/gson/JsonElement;->isJsonArray()Z
move-result v0
if-eqz v0, :cond_0
.line 104
check-cast p0, Lcom/google/gson/JsonArray;
return-object p0
.line 106
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "This is not a JSON Array."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsJsonNull()Lcom/google/gson/JsonNull;
.locals 2
.prologue
.line 136
invoke-virtual {p0}, Lcom/google/gson/JsonElement;->isJsonNull()Z
move-result v0
if-eqz v0, :cond_0
.line 137
check-cast p0, Lcom/google/gson/JsonNull;
return-object p0
.line 139
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "This is not a JSON Null."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsJsonObject()Lcom/google/gson/JsonObject;
.locals 3
.prologue
.line 87
invoke-virtual {p0}, Lcom/google/gson/JsonElement;->isJsonObject()Z
move-result v0
if-eqz v0, :cond_0
.line 88
check-cast p0, Lcom/google/gson/JsonObject;
return-object p0
.line 90
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "Not a JSON Object: "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsJsonPrimitive()Lcom/google/gson/JsonPrimitive;
.locals 2
.prologue
.line 119
invoke-virtual {p0}, Lcom/google/gson/JsonElement;->isJsonPrimitive()Z
move-result v0
if-eqz v0, :cond_0
.line 120
check-cast p0, Lcom/google/gson/JsonPrimitive;
return-object p0
.line 122
:cond_0
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "This is not a JSON Primitive."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsLong()J
.locals 2
.prologue
.line 230
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsNumber()Ljava/lang/Number;
.locals 2
.prologue
.line 178
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsShort()S
.locals 2
.prologue
.line 312
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getAsString()Ljava/lang/String;
.locals 2
.prologue
.line 191
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public isJsonArray()Z
.locals 1
.prologue
.line 46
instance-of v0, p0, Lcom/google/gson/JsonArray;
return v0
.end method
.method public isJsonNull()Z
.locals 1
.prologue
.line 74
instance-of v0, p0, Lcom/google/gson/JsonNull;
return v0
.end method
.method public isJsonObject()Z
.locals 1
.prologue
.line 55
instance-of v0, p0, Lcom/google/gson/JsonObject;
return v0
.end method
.method public isJsonPrimitive()Z
.locals 1
.prologue
.line 64
instance-of v0, p0, Lcom/google/gson/JsonPrimitive;
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
.prologue
.line 321
:try_start_0
new-instance v0, Ljava/io/StringWriter;
invoke-direct {v0}, Ljava/io/StringWriter;-><init>()V
.line 322
new-instance v1, Lcom/google/gson/stream/JsonWriter;
invoke-direct {v1, v0}, Lcom/google/gson/stream/JsonWriter;-><init>(Ljava/io/Writer;)V
.line 323
const/4 v2, 0x1
invoke-virtual {v1, v2}, Lcom/google/gson/stream/JsonWriter;->setLenient(Z)V
.line 324
invoke-static {p0, v1}, Lcom/google/gson/internal/Streams;->write(Lcom/google/gson/JsonElement;Lcom/google/gson/stream/JsonWriter;)V
.line 325
invoke-virtual {v0}, Ljava/io/StringWriter;->toString()Ljava/lang/String;
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
move-result-object v0
return-object v0
.line 326
:catch_0
move-exception v0
.line 327
new-instance v1, Ljava/lang/AssertionError;
invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v1
.end method