.class public final Landroidx/window/embedding/ActivityRule; .super Landroidx/window/embedding/EmbeddingRule; .source "ActivityRule.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000*\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\"\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u000b\n\u0002\u0008\u0007\n\u0002\u0010\u0000\n\u0000\n\u0002\u0010\u0008\n\u0002\u0008\u0004\u0008\u0007\u0018\u00002\u00020\u0001B\u001d\u0012\u000c\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u0012\u0008\u0008\u0002\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0002\u0010\u0007J\u0013\u0010\u000c\u001a\u00020\u00062\u0008\u0010\r\u001a\u0004\u0018\u00010\u000eH\u0096\u0002J\u0008\u0010\u000f\u001a\u00020\u0010H\u0016J\u0016\u0010\u0011\u001a\u00020\u00002\u0006\u0010\u0012\u001a\u00020\u0004H\u0080\u0002\u00a2\u0006\u0002\u0008\u0013R\u0011\u0010\u0005\u001a\u00020\u0006\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\u0008\u0010\tR\u0017\u0010\u0002\u001a\u0008\u0012\u0004\u0012\u00020\u00040\u0003\u00a2\u0006\u0008\n\u0000\u001a\u0004\u0008\n\u0010\u000b\u00a8\u0006\u0014" } d2 = { "Landroidx/window/embedding/ActivityRule;", "Landroidx/window/embedding/EmbeddingRule;", "filters", "", "Landroidx/window/embedding/ActivityFilter;", "alwaysExpand", "", "(Ljava/util/Set;Z)V", "getAlwaysExpand", "()Z", "getFilters", "()Ljava/util/Set;", "equals", "other", "", "hashCode", "", "plus", "filter", "plus$window_release", "window_release" } k = 0x1 mv = { 0x1, 0x6, 0x0 } xi = 0x30 .end annotation # instance fields .field private final alwaysExpand:Z .field private final filters:Ljava/util/Set; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;" } .end annotation .end field # direct methods .method public constructor (Ljava/util/Set;Z)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;Z)V" } .end annotation const-string v0, "filters" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 37 invoke-direct {p0}, Landroidx/window/embedding/EmbeddingRule;->()V iput-boolean p2, p0, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z .line 41 check-cast p1, Ljava/lang/Iterable; invoke-static {p1}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; move-result-object p1 iput-object p1, p0, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; return-void .end method .method public synthetic constructor (Ljava/util/Set;ZILkotlin/jvm/internal/DefaultConstructorMarker;)V .locals 0 and-int/lit8 p3, p3, 0x2 if-eqz p3, :cond_0 const/4 p2, 0x0 .line 26 :cond_0 invoke-direct {p0, p1, p2}, Landroidx/window/embedding/ActivityRule;->(Ljava/util/Set;Z)V return-void .end method # virtual methods .method public equals(Ljava/lang/Object;)Z .locals 4 const/4 v0, 0x1 if-ne p0, p1, :cond_0 return v0 .line 58 :cond_0 instance-of v1, p1, Landroidx/window/embedding/ActivityRule; const/4 v2, 0x0 if-nez v1, :cond_1 return v2 :cond_1 iget-object v1, p0, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; .line 60 check-cast p1, Landroidx/window/embedding/ActivityRule; iget-object v3, p1, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; invoke-static {v1, v3}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z move-result v1 if-nez v1, :cond_2 return v2 :cond_2 iget-boolean p0, p0, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z .line 61 iget-boolean p1, p1, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z if-eq p0, p1, :cond_3 return v2 :cond_3 return v0 .end method .method public final getAlwaysExpand()Z .locals 0 iget-boolean p0, p0, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z return p0 .end method .method public final getFilters()Ljava/util/Set; .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/Set<", "Landroidx/window/embedding/ActivityFilter;", ">;" } .end annotation iget-object p0, p0, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; return-object p0 .end method .method public hashCode()I .locals 1 iget-object v0, p0, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; .line 67 invoke-virtual {v0}, Ljava/lang/Object;->hashCode()I move-result v0 mul-int/lit8 v0, v0, 0x1f iget-boolean p0, p0, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z .line 68 invoke-static {p0}, Ljava/lang/Boolean;->hashCode(Z)I move-result p0 add-int/2addr v0, p0 return v0 .end method .method public final plus$window_release(Landroidx/window/embedding/ActivityFilter;)Landroidx/window/embedding/ActivityRule; .locals 2 const-string v0, "filter" invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 47 new-instance v0, Ljava/util/LinkedHashSet; invoke-direct {v0}, Ljava/util/LinkedHashSet;->()V check-cast v0, Ljava/util/Set; iget-object v1, p0, Landroidx/window/embedding/ActivityRule;->filters:Ljava/util/Set; .line 48 check-cast v1, Ljava/util/Collection; invoke-interface {v0, v1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z .line 49 invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z .line 50 new-instance p1, Landroidx/window/embedding/ActivityRule; .line 51 check-cast v0, Ljava/lang/Iterable; invoke-static {v0}, Lkotlin/collections/CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; move-result-object v0 iget-boolean p0, p0, Landroidx/window/embedding/ActivityRule;->alwaysExpand:Z .line 50 invoke-direct {p1, v0, p0}, Landroidx/window/embedding/ActivityRule;->(Ljava/util/Set;Z)V return-object p1 .end method