granularity level: instruction

		.class public final Lcom/google/firebase/encoders/FieldDescriptor$Builder;
.super Ljava/lang/Object;
.source "FieldDescriptor.java"

.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/firebase/encoders/FieldDescriptor;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation

.field private final name:Ljava/lang/String;
.field private properties:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Class<",
"*>;",
"Ljava/lang/Object;",
">;"
}
.end annotation
.end field


.method constructor <init>(Ljava/lang/String;)V
	.locals 1

	invoke-direct {p0}, Ljava/lang/Object;-><init>()V
	const/4 v0, 0x0
	iput-object v0, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	iput-object p1, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->name:Ljava/lang/String;
	return-void
.end method

.method public build()Lcom/google/firebase/encoders/FieldDescriptor;
	.locals 4

	new-instance v0, Lcom/google/firebase/encoders/FieldDescriptor;
	iget-object v1, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->name:Ljava/lang/String;
	iget-object v2, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	if-nez v2, :cond_0
	invoke-static {}, Ljava/util/Collections;->emptyMap()Ljava/util/Map;
	move-result-object v2
	goto :goto_0
	:cond_0
	new-instance v2, Ljava/util/HashMap;
	iget-object v3, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	invoke-direct {v2, v3}, Ljava/util/HashMap;-><init>(Ljava/util/Map;)V
	invoke-static {v2}, Ljava/util/Collections;->unmodifiableMap(Ljava/util/Map;)Ljava/util/Map;
	move-result-object v2
	:goto_0
	const/4 v3, 0x0
	invoke-direct {v0, v1, v2, v3}, Lcom/google/firebase/encoders/FieldDescriptor;-><init>(Ljava/lang/String;Ljava/util/Map;Lcom/google/firebase/encoders/FieldDescriptor$1;)V
	return-object v0
.end method

.method public withProperty(Ljava/lang/annotation/Annotation;)Lcom/google/firebase/encoders/FieldDescriptor$Builder;
	.locals 2
	.annotation system Ldalvik/annotation/Signature;
	value = {
	"<T::",
	"Ljava/lang/annotation/Annotation;",
	">(TT;)",
	"Lcom/google/firebase/encoders/FieldDescriptor$Builder;"
	}
	.end annotation

	iget-object v0, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	if-nez v0, :cond_0
	new-instance v0, Ljava/util/HashMap;
	invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
	iput-object v0, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	:cond_0
	iget-object v0, p0, Lcom/google/firebase/encoders/FieldDescriptor$Builder;->properties:Ljava/util/Map;
	invoke-interface {p1}, Ljava/lang/annotation/Annotation;->annotationType()Ljava/lang/Class;
	move-result-object v1
	invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
	return-object p0
.end method