.class public final Lrx/c/f; .super Ljava/lang/Object; .source "RxJavaPlugins.java" # static fields .field static final bKB:Lrx/c/b; .field private static final bKw:Lrx/c/f; # instance fields .field private final bCt:Ljava/util/concurrent/atomic/AtomicReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/atomic/AtomicReference<", "Lrx/c/g;", ">;" } .end annotation .end field .field private final bKA:Ljava/util/concurrent/atomic/AtomicReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/atomic/AtomicReference<", "Lrx/c/a;", ">;" } .end annotation .end field .field private final bKx:Ljava/util/concurrent/atomic/AtomicReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/atomic/AtomicReference<", "Lrx/c/b;", ">;" } .end annotation .end field .field private final bKy:Ljava/util/concurrent/atomic/AtomicReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/atomic/AtomicReference<", "Lrx/c/d;", ">;" } .end annotation .end field .field private final bKz:Ljava/util/concurrent/atomic/AtomicReference; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/util/concurrent/atomic/AtomicReference<", "Lrx/c/h;", ">;" } .end annotation .end field # direct methods .method static constructor ()V .locals 1 new-instance v0, Lrx/c/f; invoke-direct {v0}, Lrx/c/f;->()V sput-object v0, Lrx/c/f;->bKw:Lrx/c/f; new-instance v0, Lrx/c/f$1; invoke-direct {v0}, Lrx/c/f$1;->()V sput-object v0, Lrx/c/f;->bKB:Lrx/c/b; return-void .end method .method constructor ()V .locals 1 invoke-direct {p0}, Ljava/lang/Object;->()V new-instance v0, Ljava/util/concurrent/atomic/AtomicReference; invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;->()V iput-object v0, p0, Lrx/c/f;->bKx:Ljava/util/concurrent/atomic/AtomicReference; new-instance v0, Ljava/util/concurrent/atomic/AtomicReference; invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;->()V iput-object v0, p0, Lrx/c/f;->bKy:Ljava/util/concurrent/atomic/AtomicReference; new-instance v0, Ljava/util/concurrent/atomic/AtomicReference; invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;->()V iput-object v0, p0, Lrx/c/f;->bKz:Ljava/util/concurrent/atomic/AtomicReference; new-instance v0, Ljava/util/concurrent/atomic/AtomicReference; invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;->()V iput-object v0, p0, Lrx/c/f;->bKA:Ljava/util/concurrent/atomic/AtomicReference; new-instance v0, Ljava/util/concurrent/atomic/AtomicReference; invoke-direct {v0}, Ljava/util/concurrent/atomic/AtomicReference;->()V iput-object v0, p0, Lrx/c/f;->bCt:Ljava/util/concurrent/atomic/AtomicReference; return-void .end method .method public static ES()Lrx/c/f; .locals 1 .annotation runtime Ljava/lang/Deprecated; .end annotation sget-object v0, Lrx/c/f;->bKw:Lrx/c/f; return-object v0 .end method .method private static a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; .locals 9 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "*>;", "Ljava/util/Properties;", ")", "Ljava/lang/Object;" } .end annotation invoke-virtual {p1}, Ljava/util/Properties;->clone()Ljava/lang/Object; move-result-object p1 check-cast p1, Ljava/util/Properties; invoke-virtual {p0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String; move-result-object v0 const-string v1, "rxjava.plugin." new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v3, ".implementation" invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v2 invoke-virtual {p1, v2}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 if-nez v2, :cond_2 const-string v3, ".class" const-string v4, ".impl" invoke-virtual {p1}, Ljava/util/Properties;->entrySet()Ljava/util/Set; move-result-object v5 invoke-interface {v5}, Ljava/util/Set;->iterator()Ljava/util/Iterator; move-result-object v5 :cond_0 invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z move-result v6 if-eqz v6, :cond_2 invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v6 check-cast v6, Ljava/util/Map$Entry; invoke-interface {v6}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object; move-result-object v7 invoke-virtual {v7}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v7 invoke-virtual {v7, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z move-result v8 if-eqz v8, :cond_0 invoke-virtual {v7, v3}, Ljava/lang/String;->endsWith(Ljava/lang/String;)Z move-result v8 if-eqz v8, :cond_0 invoke-interface {v6}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object; move-result-object v6 invoke-virtual {v6}, Ljava/lang/Object;->toString()Ljava/lang/String; move-result-object v6 invoke-virtual {v0, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v6 if-eqz v6, :cond_0 const/4 v2, 0x0 invoke-virtual {v7}, Ljava/lang/String;->length()I move-result v3 add-int/lit8 v3, v3, -0x6 invoke-virtual {v7, v2, v3}, Ljava/lang/String;->substring(II)Ljava/lang/String; move-result-object v2 const/16 v3, 0xe invoke-virtual {v2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String; move-result-object v2 new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V invoke-virtual {v3, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-virtual {p1, v1}, Ljava/util/Properties;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v2 if-eqz v2, :cond_1 goto :goto_0 :cond_1 new-instance p0, Ljava/lang/IllegalStateException; new-instance p1, Ljava/lang/StringBuilder; const-string v2, "Implementing class declaration for " invoke-direct {p1, v2}, Ljava/lang/StringBuilder;->(Ljava/lang/String;)V invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " missing: " invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p1 invoke-direct {p0, p1}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;)V throw p0 :cond_2 :goto_0 if-eqz v2, :cond_3 :try_start_0 invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class; move-result-object p1 invoke-virtual {p1, p0}, Ljava/lang/Class;->asSubclass(Ljava/lang/Class;)Ljava/lang/Class; move-result-object p0 invoke-virtual {p0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object; move-result-object p0 :try_end_0 .catch Ljava/lang/ClassCastException; {:try_start_0 .. :try_end_0} :catch_3 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_2 .catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 new-instance p1, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " implementation not able to be accessed: " invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw p1 :catch_1 move-exception p0 new-instance p1, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " implementation not able to be instantiated: " invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw p1 :catch_2 move-exception p0 new-instance p1, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, " implementation class not found: " invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw p1 :catch_3 move-exception p0 new-instance p1, Ljava/lang/IllegalStateException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v3, " implementation is not an instance of " invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v0, ": " invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v0 invoke-direct {p1, v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw p1 :cond_3 const/4 p0, 0x0 return-object p0 .end method # virtual methods .method public final ET()Lrx/c/b; .locals 3 iget-object v0, p0, Lrx/c/f;->bKx:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_1 const-class v0, Lrx/c/b; invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties; move-result-object v1 invoke-static {v0, v1}, Lrx/c/f;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 iget-object v0, p0, Lrx/c/f;->bKx:Ljava/util/concurrent/atomic/AtomicReference; sget-object v2, Lrx/c/f;->bKB:Lrx/c/b; invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object v2, p0, Lrx/c/f;->bKx:Ljava/util/concurrent/atomic/AtomicReference; check-cast v0, Lrx/c/b; invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z :cond_1 :goto_0 iget-object v0, p0, Lrx/c/f;->bKx:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lrx/c/b; return-object v0 .end method .method public final EU()Lrx/c/d; .locals 3 iget-object v0, p0, Lrx/c/f;->bKy:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_1 const-class v0, Lrx/c/d; invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties; move-result-object v1 invoke-static {v0, v1}, Lrx/c/f;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 iget-object v0, p0, Lrx/c/f;->bKy:Ljava/util/concurrent/atomic/AtomicReference; invoke-static {}, Lrx/c/e;->ER()Lrx/c/d; move-result-object v2 invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object v2, p0, Lrx/c/f;->bKy:Ljava/util/concurrent/atomic/AtomicReference; check-cast v0, Lrx/c/d; invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z :cond_1 :goto_0 iget-object v0, p0, Lrx/c/f;->bKy:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lrx/c/d; return-object v0 .end method .method public final EV()Lrx/c/h; .locals 3 iget-object v0, p0, Lrx/c/f;->bKz:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_1 const-class v0, Lrx/c/h; invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties; move-result-object v1 invoke-static {v0, v1}, Lrx/c/f;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 iget-object v0, p0, Lrx/c/f;->bKz:Ljava/util/concurrent/atomic/AtomicReference; invoke-static {}, Lrx/c/i;->Fc()Lrx/c/h; move-result-object v2 invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object v2, p0, Lrx/c/f;->bKz:Ljava/util/concurrent/atomic/AtomicReference; check-cast v0, Lrx/c/h; invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z :cond_1 :goto_0 iget-object v0, p0, Lrx/c/f;->bKz:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lrx/c/h; return-object v0 .end method .method public final EW()Lrx/c/a; .locals 3 iget-object v0, p0, Lrx/c/f;->bKA:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_1 const-class v0, Lrx/c/a; invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties; move-result-object v1 invoke-static {v0, v1}, Lrx/c/f;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 iget-object v0, p0, Lrx/c/f;->bKA:Ljava/util/concurrent/atomic/AtomicReference; new-instance v2, Lrx/c/f$2; invoke-direct {v2, p0}, Lrx/c/f$2;->(Lrx/c/f;)V invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object v2, p0, Lrx/c/f;->bKA:Ljava/util/concurrent/atomic/AtomicReference; check-cast v0, Lrx/c/a; invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z :cond_1 :goto_0 iget-object v0, p0, Lrx/c/f;->bKA:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lrx/c/a; return-object v0 .end method .method public final EX()Lrx/c/g; .locals 3 iget-object v0, p0, Lrx/c/f;->bCt:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 if-nez v0, :cond_1 const-class v0, Lrx/c/g; invoke-static {}, Ljava/lang/System;->getProperties()Ljava/util/Properties; move-result-object v1 invoke-static {v0, v1}, Lrx/c/f;->a(Ljava/lang/Class;Ljava/util/Properties;)Ljava/lang/Object; move-result-object v0 const/4 v1, 0x0 if-nez v0, :cond_0 iget-object v0, p0, Lrx/c/f;->bCt:Ljava/util/concurrent/atomic/AtomicReference; invoke-static {}, Lrx/c/g;->Fb()Lrx/c/g; move-result-object v2 invoke-virtual {v0, v1, v2}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z goto :goto_0 :cond_0 iget-object v2, p0, Lrx/c/f;->bCt:Ljava/util/concurrent/atomic/AtomicReference; check-cast v0, Lrx/c/g; invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/atomic/AtomicReference;->compareAndSet(Ljava/lang/Object;Ljava/lang/Object;)Z :cond_1 :goto_0 iget-object v0, p0, Lrx/c/f;->bCt:Ljava/util/concurrent/atomic/AtomicReference; invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicReference;->get()Ljava/lang/Object; move-result-object v0 check-cast v0, Lrx/c/g; return-object v0 .end method