89 lines
2.2 KiB
Smali
89 lines
2.2 KiB
Smali
|
.class final Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion$createMinCharactersRequiredInputValidator$1;
|
||
|
.super Lkotlin/jvm/internal/k;
|
||
|
.source "BasicTextInputValidator.kt"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Lkotlin/jvm/functions/Function1;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion;->createMinCharactersRequiredInputValidator(II)Lcom/discord/utilities/view/validators/BasicTextInputValidator;
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x18
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/Signature;
|
||
|
value = {
|
||
|
"Lkotlin/jvm/internal/k;",
|
||
|
"Lkotlin/jvm/functions/Function1<",
|
||
|
"Ljava/lang/String;",
|
||
|
"Ljava/lang/Boolean;",
|
||
|
">;"
|
||
|
}
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic $minCharCount:I
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(I)V
|
||
|
.locals 0
|
||
|
|
||
|
iput p1, p0, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion$createMinCharactersRequiredInputValidator$1;->$minCharCount:I
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
invoke-direct {p0, p1}, Lkotlin/jvm/internal/k;-><init>(I)V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public final synthetic invoke(Ljava/lang/Object;)Ljava/lang/Object;
|
||
|
.locals 0
|
||
|
|
||
|
check-cast p1, Ljava/lang/String;
|
||
|
|
||
|
invoke-virtual {p0, p1}, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion$createMinCharactersRequiredInputValidator$1;->invoke(Ljava/lang/String;)Z
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
||
|
|
||
|
move-result-object p1
|
||
|
|
||
|
return-object p1
|
||
|
.end method
|
||
|
|
||
|
.method public final invoke(Ljava/lang/String;)Z
|
||
|
.locals 1
|
||
|
|
||
|
const-string v0, "it"
|
||
|
|
||
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/j;->h(Ljava/lang/Object;Ljava/lang/String;)V
|
||
|
|
||
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
||
|
|
||
|
move-result p1
|
||
|
|
||
|
iget v0, p0, Lcom/discord/utilities/view/validators/BasicTextInputValidator$Companion$createMinCharactersRequiredInputValidator$1;->$minCharCount:I
|
||
|
|
||
|
if-gt p1, v0, :cond_0
|
||
|
|
||
|
const/4 p1, 0x1
|
||
|
|
||
|
return p1
|
||
|
|
||
|
:cond_0
|
||
|
const/4 p1, 0x0
|
||
|
|
||
|
return p1
|
||
|
.end method
|