TypeAdapters$k.smali
.class public final Lcom/google/gson/internal/bind/TypeAdapters$k;
.super Lcom/google/gson/b0;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/gson/internal/bind/TypeAdapters;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/gson/b0<",
"Ljava/lang/Class;",
">;"
}
.end annotation
# direct methods
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Lcom/google/gson/b0;-><init>()V
return-void
.end method
# virtual methods
.method public final read(Lcom/google/gson/stream/a;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Attempted to deserialize a java.lang.Class. Forgot to register a type adapter?"
invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public final write(Lcom/google/gson/stream/c;Ljava/lang/Object;)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 1
check-cast p2, Ljava/lang/Class;
.line 2
new-instance p1, Ljava/lang/UnsupportedOperationException;
const-string v0, "Attempted to serialize java.lang.Class: "
.line 3
invoke-static {v0}, Landroid/support/v4/media/c;->c(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ". Forgot to register a type adapter?"
.line 4
invoke-static {p2, v0, v1}, Landroidx/core/graphics/f;->c(Ljava/lang/Class;Ljava/lang/StringBuilder;Ljava/lang/String;)Ljava/lang/String;
move-result-object p2
.line 5
invoke-direct {p1, p2}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V
throw p1
.end method