ViewManagersPropertyCache$BoxedBooleanPropSetter.smali
.class Lcom/facebook/react/uimanager/ViewManagersPropertyCache$BoxedBooleanPropSetter;
.super Lcom/facebook/react/uimanager/ViewManagersPropertyCache$PropSetter;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/react/uimanager/ViewManagersPropertyCache;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "BoxedBooleanPropSetter"
.end annotation
# direct methods
.method public constructor <init>(Lcom/facebook/react/uimanager/annotations/ReactProp;Ljava/lang/reflect/Method;)V
.registers 5
const-string v0, "boolean"
const/4 v1, 0x0
invoke-direct {p0, p1, v0, p2, v1}, Lcom/facebook/react/uimanager/ViewManagersPropertyCache$PropSetter;-><init>(Lcom/facebook/react/uimanager/annotations/ReactProp;Ljava/lang/String;Ljava/lang/reflect/Method;Lcom/facebook/react/uimanager/ViewManagersPropertyCache$1;)V
return-void
.end method
# virtual methods
.method public getValueOrDefault(Ljava/lang/Object;Landroid/content/Context;)Ljava/lang/Object;
.registers 3
if-eqz p1, :cond_10
check-cast p1, Ljava/lang/Boolean;
invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z
move-result p1
if-eqz p1, :cond_d
sget-object p1, Ljava/lang/Boolean;->TRUE:Ljava/lang/Boolean;
goto :goto_f
:cond_d
sget-object p1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
:goto_f
return-object p1
:cond_10
const/4 p1, 0x0
return-object p1
.end method