.class public final Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; .super Ljava/lang/Object; .source "WidgetChannelSelector.kt" # interfaces .implements Lcom/discord/widgets/channels/WidgetChannelSelector$FilterFunction; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/discord/widgets/channels/WidgetChannelSelector; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x19 name = "TypeFilterFunction" .end annotation # instance fields .field public final type:I # direct methods .method public constructor (I)V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V iput p1, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I return-void .end method .method private final component1()I .locals 1 iget v0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I return v0 .end method .method public static synthetic copy$default(Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;IILjava/lang/Object;)Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; .locals 0 and-int/lit8 p2, p2, 0x1 if-eqz p2, :cond_0 iget p1, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I :cond_0 invoke-virtual {p0, p1}, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->copy(I)Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; move-result-object p0 return-object p0 .end method # virtual methods .method public final copy(I)Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; .locals 1 new-instance v0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; invoke-direct {v0, p1}, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->(I)V return-object v0 .end method .method public equals(Ljava/lang/Object;)Z .locals 1 if-eq p0, p1, :cond_1 instance-of v0, p1, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; if-eqz v0, :cond_0 check-cast p1, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction; iget v0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I iget p1, p1, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I if-ne v0, p1, :cond_0 goto :goto_0 :cond_0 const/4 p1, 0x0 return p1 :cond_1 :goto_0 const/4 p1, 0x1 return p1 .end method .method public hashCode()I .locals 1 iget v0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I return v0 .end method .method public includeChannel(Lcom/discord/models/domain/ModelChannel;)Z .locals 1 const-string v0, "channel" invoke-static {p1, v0}, Lb0/n/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V iget v0, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I invoke-virtual {p1}, Lcom/discord/models/domain/ModelChannel;->getType()I move-result p1 if-ne v0, p1, :cond_0 const/4 p1, 0x1 goto :goto_0 :cond_0 const/4 p1, 0x0 :goto_0 return p1 .end method .method public toString()Ljava/lang/String; .locals 3 const-string v0, "TypeFilterFunction(type=" invoke-static {v0}, Lf/e/c/a/a;->F(Ljava/lang/String;)Ljava/lang/StringBuilder; move-result-object v0 iget v1, p0, Lcom/discord/widgets/channels/WidgetChannelSelector$TypeFilterFunction;->type:I const-string v2, ")" invoke-static {v0, v1, v2}, Lf/e/c/a/a;->t(Ljava/lang/StringBuilder;ILjava/lang/String;)Ljava/lang/String; move-result-object v0 return-object v0 .end method