dk.smali
.class public Lcom/google/protobuf/dk;
.super Ljava/lang/Object;
.source "LazyFieldLite.java"
# instance fields
.field bmF:Lcom/google/protobuf/ByteString;
.field private bmG:Lcom/google/protobuf/ExtensionRegistryLite;
.field volatile bmH:Lcom/google/protobuf/MessageLite;
.field volatile bmI:Lcom/google/protobuf/ByteString;
# direct methods
.method static constructor <clinit>()V
.registers 0
.prologue
.line 58
invoke-static {}, Lcom/google/protobuf/ExtensionRegistryLite;->Ej()Lcom/google/protobuf/ExtensionRegistryLite;
.line 57
return-void
.end method
.method public constructor <init>()V
.registers 1
.prologue
.line 125
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 126
return-void
.end method
.method public constructor <init>(Lcom/google/protobuf/ExtensionRegistryLite;Lcom/google/protobuf/ByteString;)V
.registers 5
.prologue
.line 116
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 1451
if-nez p1, :cond_d
.line 1452
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "found null ExtensionRegistry"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
.line 1454
:cond_d
if-nez p2, :cond_17
.line 1455
new-instance v0, Ljava/lang/NullPointerException;
const-string v1, "found null ByteString"
invoke-direct {v0, v1}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw v0
.line 118
:cond_17
iput-object p1, p0, Lcom/google/protobuf/dk;->bmG:Lcom/google/protobuf/ExtensionRegistryLite;
.line 119
iput-object p2, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
.line 120
return-void
.end method
# virtual methods
.method public final d(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/MessageLite;
.registers 5
.prologue
.line 224
.line 2422
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
if-nez v0, :cond_a
.line 2425
monitor-enter p0
.line 2426
:try_start_5
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
if-eqz v0, :cond_d
.line 2427
monitor-exit p0
:try_end_a
.catchall {:try_start_5 .. :try_end_a} :catchall_27
.line 225
:cond_a
:goto_a
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
return-object v0
.line 2430
:cond_d
:try_start_d
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_2a
.line 2432
invoke-interface {p1}, Lcom/google/protobuf/MessageLite;->getParserForType()Lcom/google/protobuf/Parser;
move-result-object v0
iget-object v1, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
iget-object v2, p0, Lcom/google/protobuf/dk;->bmG:Lcom/google/protobuf/ExtensionRegistryLite;
.line 2433
invoke-interface {v0, v1, v2}, Lcom/google/protobuf/Parser;->parseFrom(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/ExtensionRegistryLite;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/protobuf/MessageLite;
.line 2434
iput-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
.line 2435
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
iput-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
:try_end_25
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_d .. :try_end_25} :catch_31
.catchall {:try_start_d .. :try_end_25} :catchall_27
.line 2446
:goto_25
:try_start_25
monitor-exit p0
goto :goto_a
:catchall_27
move-exception v0
monitor-exit p0
:try_end_29
.catchall {:try_start_25 .. :try_end_29} :catchall_27
throw v0
.line 2437
:cond_2a
:try_start_2a
iput-object p1, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
.line 2438
sget-object v0, Lcom/google/protobuf/ByteString;->EMPTY:Lcom/google/protobuf/ByteString;
iput-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
:try_end_30
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_2a .. :try_end_30} :catch_31
.catchall {:try_start_2a .. :try_end_30} :catchall_27
goto :goto_25
.line 2443
:catch_31
move-exception v0
:try_start_32
iput-object p1, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
.line 2444
sget-object v0, Lcom/google/protobuf/ByteString;->EMPTY:Lcom/google/protobuf/ByteString;
iput-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
:try_end_38
.catchall {:try_start_32 .. :try_end_38} :catchall_27
goto :goto_25
.end method
.method public equals(Ljava/lang/Object;)Z
.registers 4
.prologue
.line 140
if-ne p0, p1, :cond_4
.line 141
const/4 v0, 0x1
.line 163
:goto_3
return v0
.line 144
:cond_4
instance-of v0, p1, Lcom/google/protobuf/dk;
if-nez v0, :cond_a
.line 145
const/4 v0, 0x0
goto :goto_3
.line 148
:cond_a
check-cast p1, Lcom/google/protobuf/dk;
.line 154
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
.line 155
iget-object v1, p1, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
.line 156
if-nez v0, :cond_21
if-nez v1, :cond_21
.line 157
invoke-virtual {p0}, Lcom/google/protobuf/dk;->toByteString()Lcom/google/protobuf/ByteString;
move-result-object v0
invoke-virtual {p1}, Lcom/google/protobuf/dk;->toByteString()Lcom/google/protobuf/ByteString;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/google/protobuf/ByteString;->equals(Ljava/lang/Object;)Z
move-result v0
goto :goto_3
.line 158
:cond_21
if-eqz v0, :cond_2a
if-eqz v1, :cond_2a
.line 159
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
goto :goto_3
.line 160
:cond_2a
if-eqz v0, :cond_39
.line 161
invoke-interface {v0}, Lcom/google/protobuf/MessageLite;->getDefaultInstanceForType()Lcom/google/protobuf/MessageLite;
move-result-object v1
invoke-virtual {p1, v1}, Lcom/google/protobuf/dk;->d(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/MessageLite;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
goto :goto_3
.line 163
:cond_39
invoke-interface {v1}, Lcom/google/protobuf/MessageLite;->getDefaultInstanceForType()Lcom/google/protobuf/MessageLite;
move-result-object v0
invoke-virtual {p0, v0}, Lcom/google/protobuf/dk;->d(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/MessageLite;
move-result-object v0
invoke-virtual {v0, v1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v0
goto :goto_3
.end method
.method public final getSerializedSize()I
.registers 2
.prologue
.line 382
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_b
.line 383
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
invoke-virtual {v0}, Lcom/google/protobuf/ByteString;->size()I
move-result v0
.line 389
:goto_a
return v0
.line 384
:cond_b
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_16
.line 385
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
invoke-virtual {v0}, Lcom/google/protobuf/ByteString;->size()I
move-result v0
goto :goto_a
.line 386
:cond_16
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
if-eqz v0, :cond_21
.line 387
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
invoke-interface {v0}, Lcom/google/protobuf/MessageLite;->getSerializedSize()I
move-result v0
goto :goto_a
.line 389
:cond_21
const/4 v0, 0x0
goto :goto_a
.end method
.method public hashCode()I
.registers 2
.prologue
.line 172
const/4 v0, 0x1
return v0
.end method
.method public final toByteString()Lcom/google/protobuf/ByteString;
.registers 2
.prologue
.line 397
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_7
.line 398
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
.line 414
:goto_6
return-object v0
.line 402
:cond_7
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_e
.line 403
iget-object v0, p0, Lcom/google/protobuf/dk;->bmF:Lcom/google/protobuf/ByteString;
goto :goto_6
.line 405
:cond_e
monitor-enter p0
.line 406
:try_start_f
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
if-eqz v0, :cond_1a
.line 407
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
monitor-exit p0
goto :goto_6
.line 415
:catchall_17
move-exception v0
monitor-exit p0
:try_end_19
.catchall {:try_start_f .. :try_end_19} :catchall_17
throw v0
.line 409
:cond_1a
:try_start_1a
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
if-nez v0, :cond_26
.line 410
sget-object v0, Lcom/google/protobuf/ByteString;->EMPTY:Lcom/google/protobuf/ByteString;
iput-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
.line 414
:goto_22
iget-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
monitor-exit p0
goto :goto_6
.line 412
:cond_26
iget-object v0, p0, Lcom/google/protobuf/dk;->bmH:Lcom/google/protobuf/MessageLite;
invoke-interface {v0}, Lcom/google/protobuf/MessageLite;->toByteString()Lcom/google/protobuf/ByteString;
move-result-object v0
iput-object v0, p0, Lcom/google/protobuf/dk;->bmI:Lcom/google/protobuf/ByteString;
:try_end_2e
.catchall {:try_start_1a .. :try_end_2e} :catchall_17
goto :goto_22
.end method