ExtensionRegistryLite.smali

.class public Lcom/google/protobuf/ExtensionRegistryLite;
.super Ljava/lang/Object;
.source "ExtensionRegistryLite.java"


# static fields
.field private static volatile bli:Z

.field static final blj:Lcom/google/protobuf/ExtensionRegistryLite;


# instance fields
.field private final blk:Ljava/util/Map;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/Map",
            "<",
            "Ljava/lang/Object;",
            "Ljava/lang/Object",
            "<**>;>;"
        }
    .end annotation
.end field


# direct methods
.method static constructor <clinit>()V
    .registers 2

    .prologue
    const/4 v1, 0x0

    .line 80
    sput-boolean v1, Lcom/google/protobuf/ExtensionRegistryLite;->bli:Z

    .line 96
    invoke-static {}, Lcom/google/protobuf/ExtensionRegistryLite;->Eh()Ljava/lang/Class;

    .line 183
    new-instance v0, Lcom/google/protobuf/ExtensionRegistryLite;

    invoke-direct {v0, v1}, Lcom/google/protobuf/ExtensionRegistryLite;-><init>(B)V

    sput-object v0, Lcom/google/protobuf/ExtensionRegistryLite;->blj:Lcom/google/protobuf/ExtensionRegistryLite;

    return-void
.end method

.method constructor <init>()V
    .registers 2

    .prologue
    .line 178
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 179
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite;->blk:Ljava/util/Map;

    .line 182
    return-void
.end method

.method private constructor <init>(B)V
    .registers 3

    .prologue
    .line 199
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 200
    invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite;->blk:Ljava/util/Map;

    .line 201
    return-void
.end method

.method constructor <init>(Lcom/google/protobuf/ExtensionRegistryLite;)V
    .registers 3

    .prologue
    .line 186
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 187
    sget-object v0, Lcom/google/protobuf/ExtensionRegistryLite;->blj:Lcom/google/protobuf/ExtensionRegistryLite;

    if-ne p1, v0, :cond_e

    .line 188
    invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite;->blk:Ljava/util/Map;

    .line 193
    :goto_d
    return-void

    .line 190
    :cond_e
    iget-object v0, p1, Lcom/google/protobuf/ExtensionRegistryLite;->blk:Ljava/util/Map;

    .line 191
    invoke-static {v0}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;

    move-result-object v0

    iput-object v0, p0, Lcom/google/protobuf/ExtensionRegistryLite;->blk:Ljava/util/Map;

    goto :goto_d
.end method

.method private static Eh()Ljava/lang/Class;
    .registers 1
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/lang/Class",
            "<*>;"
        }
    .end annotation

    .prologue
    .line 88
    :try_start_0
    const-string v0, "com.google.protobuf.Extension"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
    :try_end_5
    .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_5} :catch_7

    move-result-object v0

    .line 91
    :goto_6
    return-object v0

    :catch_7
    move-exception v0

    const/4 v0, 0x0

    goto :goto_6
.end method

.method public static Ei()Z
    .registers 1

    .prologue
    .line 99
    sget-boolean v0, Lcom/google/protobuf/ExtensionRegistryLite;->bli:Z

    return v0
.end method

.method public static Ej()Lcom/google/protobuf/ExtensionRegistryLite;
    .registers 1

    .prologue
    .line 121
    invoke-static {}, Lcom/google/protobuf/bp;->Eg()Lcom/google/protobuf/ExtensionRegistryLite;

    move-result-object v0

    return-object v0
.end method