.class public final Lcom/google/protobuf/GeneratedMessageLite$SerializedForm; .super Ljava/lang/Object; .source "GeneratedMessageLite.java" # interfaces .implements Ljava/io/Serializable; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/protobuf/GeneratedMessageLite; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "SerializedForm" .end annotation # static fields .field private static final serialVersionUID:J # instance fields .field private final asBytes:[B .field private final messageClassName:Ljava/lang/String; # direct methods .method public constructor (Lcom/google/protobuf/MessageLite;)V .locals 1 .line 1 invoke-direct {p0}, Ljava/lang/Object;->()V .line 2 invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v0 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v0 iput-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; .line 3 invoke-interface {p1}, Lcom/google/protobuf/MessageLite;->toByteArray()[B move-result-object p1 iput-object p1, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->asBytes:[B return-void .end method .method public static of(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/GeneratedMessageLite$SerializedForm; .locals 1 .line 1 new-instance v0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm; invoke-direct {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->(Lcom/google/protobuf/MessageLite;)V return-object v0 .end method .method private readResolveFallback()Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/ObjectStreamException; } .end annotation .annotation runtime Ljava/lang/Deprecated; .end annotation .line 1 :try_start_0 iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class; move-result-object v0 const-string v1, "defaultInstance" .line 2 invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field; move-result-object v0 const/4 v1, 0x1 .line 3 invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V const/4 v1, 0x0 .line 4 invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/protobuf/MessageLite; .line 5 invoke-interface {v0}, Lcom/google/protobuf/MessageLite;->newBuilderForType()Lcom/google/protobuf/MessageLite$Builder; move-result-object v0 iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->asBytes:[B .line 6 invoke-interface {v0, v1}, Lcom/google/protobuf/MessageLite$Builder;->mergeFrom([B)Lcom/google/protobuf/MessageLite$Builder; move-result-object v0 .line 7 invoke-interface {v0}, Lcom/google/protobuf/MessageLite$Builder;->buildPartial()Lcom/google/protobuf/MessageLite; move-result-object v0 :try_end_0 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_4 .catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_3 .catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1 .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_0 .. :try_end_0} :catch_0 return-object v0 :catch_0 move-exception v0 .line 8 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to understand proto buffer" invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_1 move-exception v0 .line 9 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to call parsePartialFrom" invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_2 move-exception v0 .line 10 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to call defaultInstance in " invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_3 move-exception v0 .line 11 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to find defaultInstance in " invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_4 move-exception v0 .line 12 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to find proto buffer class: " invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 .end method # virtual methods .method public readResolve()Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/ObjectStreamException; } .end annotation .line 1 :try_start_0 iget-object v0, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class; move-result-object v0 const-string v1, "DEFAULT_INSTANCE" .line 2 invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field; move-result-object v0 const/4 v1, 0x1 .line 3 invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V const/4 v1, 0x0 .line 4 invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Lcom/google/protobuf/MessageLite; .line 5 invoke-interface {v0}, Lcom/google/protobuf/MessageLite;->newBuilderForType()Lcom/google/protobuf/MessageLite$Builder; move-result-object v0 iget-object v1, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->asBytes:[B .line 6 invoke-interface {v0, v1}, Lcom/google/protobuf/MessageLite$Builder;->mergeFrom([B)Lcom/google/protobuf/MessageLite$Builder; move-result-object v0 .line 7 invoke-interface {v0}, Lcom/google/protobuf/MessageLite$Builder;->buildPartial()Lcom/google/protobuf/MessageLite; move-result-object v0 :try_end_0 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_4 .catch Ljava/lang/NoSuchFieldException; {:try_start_0 .. :try_end_0} :catch_3 .catch Ljava/lang/SecurityException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1 .catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_0 .. :try_end_0} :catch_0 return-object v0 :catch_0 move-exception v0 .line 8 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to understand proto buffer" invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_1 move-exception v0 .line 9 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to call parsePartialFrom" invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :catch_2 move-exception v0 .line 10 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to call DEFAULT_INSTANCE in " invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 .line 11 :catch_3 invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->readResolveFallback()Ljava/lang/Object; move-result-object v0 return-object v0 :catch_4 move-exception v0 .line 12 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Unable to find proto buffer class: " invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v2 iget-object v3, p0, Lcom/google/protobuf/GeneratedMessageLite$SerializedForm;->messageClassName:Ljava/lang/String; invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 .end method