b.smali
.class public abstract Lcom/google/protobuf/b;
.super Ljava/lang/Object;
.source "AbstractParser.java"
# interfaces
.implements Lcom/google/protobuf/A;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<MessageType::",
"Lcom/google/protobuf/x;",
">",
"Ljava/lang/Object;",
"Lcom/google/protobuf/A<",
"TMessageType;>;"
}
.end annotation
# static fields
.field private static final a:Lcom/google/protobuf/l;
# direct methods
.method static constructor <clinit>()V
.registers 1
.line 1
invoke-static {}, Lcom/google/protobuf/l;->a()Lcom/google/protobuf/l;
move-result-object v0
sput-object v0, Lcom/google/protobuf/b;->a:Lcom/google/protobuf/l;
return-void
.end method
.method public constructor <init>()V
.registers 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private a(Lcom/google/protobuf/x;)Lcom/google/protobuf/x;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TMessageType;)TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
if-eqz p1, :cond_16
.line 4
invoke-interface {p1}, Lcom/google/protobuf/y;->isInitialized()Z
move-result v0
if-eqz v0, :cond_9
goto :goto_16
.line 5
:cond_9
invoke-direct {p0, p1}, Lcom/google/protobuf/b;->b(Lcom/google/protobuf/x;)Lcom/google/protobuf/UninitializedMessageException;
move-result-object v0
.line 6
invoke-virtual {v0}, Lcom/google/protobuf/UninitializedMessageException;->asInvalidProtocolBufferException()Lcom/google/protobuf/InvalidProtocolBufferException;
move-result-object v0
.line 7
invoke-virtual {v0, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;->setUnfinishedMessage(Lcom/google/protobuf/x;)Lcom/google/protobuf/InvalidProtocolBufferException;
move-result-object p1
throw p1
:cond_16
:goto_16
return-object p1
.end method
.method private b(Lcom/google/protobuf/x;)Lcom/google/protobuf/UninitializedMessageException;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(TMessageType;)",
"Lcom/google/protobuf/UninitializedMessageException;"
}
.end annotation
.line 1
instance-of v0, p1, Lcom/google/protobuf/a;
if-eqz v0, :cond_b
.line 2
check-cast p1, Lcom/google/protobuf/a;
invoke-virtual {p1}, Lcom/google/protobuf/a;->newUninitializedMessageException()Lcom/google/protobuf/UninitializedMessageException;
move-result-object p1
return-object p1
.line 3
:cond_b
new-instance v0, Lcom/google/protobuf/UninitializedMessageException;
invoke-direct {v0, p1}, Lcom/google/protobuf/UninitializedMessageException;-><init>(Lcom/google/protobuf/x;)V
return-object v0
.end method
# virtual methods
.method public a(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/protobuf/ByteString;",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 10
invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/b;->b(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
invoke-direct {p0, p1}, Lcom/google/protobuf/b;->a(Lcom/google/protobuf/x;)Lcom/google/protobuf/x;
return-object p1
.end method
.method public a(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 3
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/protobuf/g;",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 8
invoke-interface {p0, p1, p2}, Lcom/google/protobuf/A;->b(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Lcom/google/protobuf/x;
.line 9
invoke-direct {p0, p1}, Lcom/google/protobuf/b;->a(Lcom/google/protobuf/x;)Lcom/google/protobuf/x;
return-object p1
.end method
.method public a([BIILcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"([BII",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 11
invoke-virtual {p0, p1, p2, p3, p4}, Lcom/google/protobuf/b;->b([BIILcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
.line 12
invoke-direct {p0, p1}, Lcom/google/protobuf/b;->a(Lcom/google/protobuf/x;)Lcom/google/protobuf/x;
return-object p1
.end method
.method public a([BLcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"([B",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 13
array-length v0, p1
const/4 v1, 0x0
invoke-virtual {p0, p1, v1, v0, p2}, Lcom/google/protobuf/b;->a([BIILcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic a(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/l;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 1
invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/b;->a(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic a(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 2
invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/b;->a(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
return-object p1
.end method
.method public bridge synthetic a([BLcom/google/protobuf/l;)Ljava/lang/Object;
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 3
invoke-virtual {p0, p1, p2}, Lcom/google/protobuf/b;->a([BLcom/google/protobuf/l;)Lcom/google/protobuf/x;
move-result-object p1
return-object p1
.end method
.method public b(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/protobuf/ByteString;",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 4
:try_start_0
invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->newCodedInput()Lcom/google/protobuf/g;
move-result-object p1
.line 5
invoke-interface {p0, p1, p2}, Lcom/google/protobuf/A;->b(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/google/protobuf/x;
:try_end_a
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_0 .. :try_end_a} :catch_15
const/4 v0, 0x0
.line 6
:try_start_b
invoke-virtual {p1, v0}, Lcom/google/protobuf/g;->a(I)V
:try_end_e
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_b .. :try_end_e} :catch_f
return-object p2
:catch_f
move-exception p1
.line 7
:try_start_10
invoke-virtual {p1, p2}, Lcom/google/protobuf/InvalidProtocolBufferException;->setUnfinishedMessage(Lcom/google/protobuf/x;)Lcom/google/protobuf/InvalidProtocolBufferException;
move-result-object p1
throw p1
:try_end_15
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_10 .. :try_end_15} :catch_15
:catch_15
move-exception p1
.line 8
throw p1
.end method
.method public b([BIILcom/google/protobuf/l;)Lcom/google/protobuf/x;
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"([BII",
"Lcom/google/protobuf/l;",
")TMessageType;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
.line 9
:try_start_0
invoke-static {p1, p2, p3}, Lcom/google/protobuf/g;->a([BII)Lcom/google/protobuf/g;
move-result-object p1
.line 10
invoke-interface {p0, p1, p4}, Lcom/google/protobuf/A;->b(Lcom/google/protobuf/g;Lcom/google/protobuf/l;)Ljava/lang/Object;
move-result-object p2
check-cast p2, Lcom/google/protobuf/x;
:try_end_a
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_0 .. :try_end_a} :catch_15
const/4 p3, 0x0
.line 11
:try_start_b
invoke-virtual {p1, p3}, Lcom/google/protobuf/g;->a(I)V
:try_end_e
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_b .. :try_end_e} :catch_f
return-object p2
:catch_f
move-exception p1
.line 12
:try_start_10
invoke-virtual {p1, p2}, Lcom/google/protobuf/InvalidProtocolBufferException;->setUnfinishedMessage(Lcom/google/protobuf/x;)Lcom/google/protobuf/InvalidProtocolBufferException;
move-result-object p1
throw p1
:try_end_15
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_10 .. :try_end_15} :catch_15
:catch_15
move-exception p1
.line 13
throw p1
.end method