.class public abstract Le/i/b/b; .super Ljava/lang/Object; .source "ConstructorAccess.java" # annotations .annotation system Ldalvik/annotation/Signature; value = { "", "Ljava/lang/Object;" } .end annotation # instance fields .field public a:Z # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static a(Ljava/lang/Class;)Le/i/b/b; .locals 20 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/Class<", "TT;>;)", "Le/i/b/b<", "TT;>;" } .end annotation move-object/from16 v1, p0 invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getEnclosingClass()Ljava/lang/Class; move-result-object v0 const/4 v2, 0x1 const/4 v3, 0x0 if-eqz v0, :cond_0 invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->isMemberClass()Z move-result v4 if-eqz v4, :cond_0 invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getModifiers()I move-result v4 invoke-static {v4}, Ljava/lang/reflect/Modifier;->isStatic(I)Z move-result v4 if-nez v4, :cond_0 const/4 v4, 0x1 goto :goto_0 :cond_0 const/4 v4, 0x0 :goto_0 invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v5 const-string v6, "ConstructorAccess" invoke-static {v5, v6}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v6 const-string v7, "java." invoke-virtual {v6, v7}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z move-result v7 if-eqz v7, :cond_1 const-string v7, "reflectasm." invoke-static {v7, v6}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v6 :cond_1 invoke-static/range {p0 .. p0}, Le/i/b/a;->a(Ljava/lang/Class;)Le/i/b/a; move-result-object v7 :try_start_0 invoke-virtual {v7, v6}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class; move-result-object v0 :try_end_0 .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0 goto/16 :goto_5 :catch_0 monitor-enter v7 :try_start_1 invoke-virtual {v7, v6}, Ljava/lang/ClassLoader;->loadClass(Ljava/lang/String;)Ljava/lang/Class; move-result-object v0 :try_end_1 .catch Ljava/lang/ClassNotFoundException; {:try_start_1 .. :try_end_1} :catch_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 goto/16 :goto_4 :catchall_0 move-exception v0 goto/16 :goto_9 :catch_1 const/16 v8, 0x2f const/16 v9, 0x2e :try_start_2 invoke-virtual {v6, v9, v8}, Ljava/lang/String;->replace(CC)Ljava/lang/String; move-result-object v13 invoke-virtual {v5, v9, v8}, Ljava/lang/String;->replace(CC)Ljava/lang/String; move-result-object v5 :try_end_2 .catchall {:try_start_2 .. :try_end_2} :catchall_0 const/4 v10, 0x0 if-nez v4, :cond_3 :try_start_3 invoke-virtual {v1, v10}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; move-result-object v0 invoke-virtual {v0}, Ljava/lang/reflect/Constructor;->getModifiers()I move-result v0 :try_end_3 .catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_2 .catchall {:try_start_3 .. :try_end_3} :catchall_0 :try_start_4 invoke-static {v0}, Ljava/lang/reflect/Modifier;->isPrivate(I)Z move-result v8 if-nez v8, :cond_2 :goto_1 move v8, v0 move-object v0, v10 goto :goto_2 :cond_2 new-instance v0, Ljava/lang/RuntimeException; new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, "Class cannot be created (the no-arg constructor is private): " invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v0, v1}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V throw v0 :catch_2 move-exception v0 new-instance v2, Ljava/lang/RuntimeException; new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V const-string v4, "Class cannot be created (missing no-arg constructor): " invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v3, v1}, 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-direct {v2, v1, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v2 :cond_3 invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v10 invoke-virtual {v10, v9, v8}, Ljava/lang/String;->replace(CC)Ljava/lang/String; move-result-object v10 :try_end_4 .catchall {:try_start_4 .. :try_end_4} :catchall_0 :try_start_5 new-array v8, v2, [Ljava/lang/Class; aput-object v0, v8, v3 invoke-virtual {v1, v8}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; move-result-object v0 invoke-virtual {v0}, Ljava/lang/reflect/Constructor;->getModifiers()I move-result v0 :try_end_5 .catch Ljava/lang/Exception; {:try_start_5 .. :try_end_5} :catch_3 .catchall {:try_start_5 .. :try_end_5} :catchall_0 :try_start_6 invoke-static {v0}, Ljava/lang/reflect/Modifier;->isPrivate(I)Z move-result v8 if-nez v8, :cond_c goto :goto_1 :goto_2 invoke-static {v8}, Ljava/lang/reflect/Modifier;->isPublic(I)Z move-result v8 if-eqz v8, :cond_4 const-string v8, "com/esotericsoftware/reflectasm/PublicConstructorAccess" goto :goto_3 :cond_4 const-string v8, "com/esotericsoftware/reflectasm/ConstructorAccess" :goto_3 new-instance v9, Ly/b/a/g; invoke-direct {v9, v3}, Ly/b/a/g;->(I)V const v11, 0x3002d const/16 v12, 0x21 const/4 v14, 0x0 const/16 v16, 0x0 move-object v10, v9 move-object v15, v8 invoke-virtual/range {v10 .. v16}, Ly/b/a/g;->a(IILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)V const/4 v15, 0x1 const-string v16, "" const-string v17, "()V" const/16 v18, 0x0 const/16 v19, 0x0 move-object v14, v9 invoke-virtual/range {v14 .. v19}, Ly/b/a/g;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ly/b/a/s; move-result-object v10 move-object v11, v10 check-cast v11, Ly/b/a/t; const/16 v11, 0x19 invoke-virtual {v10, v11, v3}, Ly/b/a/s;->d(II)V const-string v11, "" const-string v12, "()V" const/16 v13, 0xb7 invoke-virtual {v10, v13, v8, v11, v12}, Ly/b/a/s;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V const/16 v8, 0xb1 invoke-virtual {v10, v8}, Ly/b/a/s;->a(I)V invoke-virtual {v10, v2, v2}, Ly/b/a/s;->c(II)V const/4 v15, 0x1 const-string v16, "newInstance" const-string v17, "()Ljava/lang/Object;" const/16 v18, 0x0 const/16 v19, 0x0 move-object v14, v9 invoke-virtual/range {v14 .. v19}, Ly/b/a/g;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ly/b/a/s; move-result-object v8 move-object v10, v8 check-cast v10, Ly/b/a/t; const/16 v10, 0xbb invoke-virtual {v8, v10, v5}, Ly/b/a/s;->a(ILjava/lang/String;)V const/16 v10, 0x59 invoke-virtual {v8, v10}, Ly/b/a/s;->a(I)V const-string v10, "" const-string v11, "()V" invoke-virtual {v8, v13, v5, v10, v11}, Ly/b/a/s;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V const/16 v10, 0xb0 invoke-virtual {v8, v10}, Ly/b/a/s;->a(I)V const/4 v10, 0x2 invoke-virtual {v8, v10, v2}, Ly/b/a/s;->c(II)V invoke-static {v9, v5, v0}, Le/i/b/b;->a(Ly/b/a/g;Ljava/lang/String;Ljava/lang/String;)V invoke-virtual {v9}, Ly/b/a/g;->a()[B move-result-object v0 invoke-virtual {v7, v6, v0}, Le/i/b/a;->a(Ljava/lang/String;[B)Ljava/lang/Class; move-result-object v0 :goto_4 monitor-exit v7 :try_end_6 .catchall {:try_start_6 .. :try_end_6} :catchall_0 :goto_5 :try_start_7 invoke-virtual {v0}, Ljava/lang/Class;->newInstance()Ljava/lang/Object; move-result-object v2 check-cast v2, Le/i/b/b; :try_end_7 .catchall {:try_start_7 .. :try_end_7} :catchall_1 instance-of v5, v2, Le/i/b/e; if-nez v5, :cond_b invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getPackage()Ljava/lang/Package; move-result-object v5 invoke-virtual {v0}, Ljava/lang/Class;->getPackage()Ljava/lang/Package; move-result-object v6 if-eq v5, v6, :cond_5 goto :goto_7 :cond_5 invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v5 invoke-virtual {v0}, Ljava/lang/Class;->getClassLoader()Ljava/lang/ClassLoader; move-result-object v0 invoke-static {}, Ljava/lang/ClassLoader;->getSystemClassLoader()Ljava/lang/ClassLoader; move-result-object v6 if-nez v5, :cond_6 if-eqz v0, :cond_8 if-ne v0, v6, :cond_9 goto :goto_6 :cond_6 if-nez v0, :cond_7 if-ne v5, v6, :cond_9 goto :goto_6 :cond_7 if-ne v5, v0, :cond_9 :cond_8 :goto_6 const/4 v3, 0x1 :cond_9 :goto_7 if-nez v3, :cond_b new-instance v0, Ljava/lang/RuntimeException; new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V if-nez v4, :cond_a const-string v3, "Class cannot be created (the no-arg constructor is protected or package-protected, and its ConstructorAccess could not be defined in the same class loader): " goto :goto_8 :cond_a const-string v3, "Non-static member class cannot be created (the enclosing class constructor is protected or package-protected, and its ConstructorAccess could not be defined in the same class loader): " :goto_8 invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v0, v1}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V throw v0 :cond_b iput-boolean v4, v2, Le/i/b/b;->a:Z return-object v2 :catchall_1 move-exception v0 new-instance v1, Ljava/lang/RuntimeException; const-string v2, "Exception constructing constructor access class: " invoke-static {v2, v6}, Le/e/b/a/a;->a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; move-result-object v2 invoke-direct {v1, v2, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v1 :cond_c :try_start_8 new-instance v0, Ljava/lang/RuntimeException; new-instance v2, Ljava/lang/StringBuilder; invoke-direct {v2}, Ljava/lang/StringBuilder;->()V const-string v3, "Non-static member class cannot be created (the enclosing class constructor is private): " invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v0, v1}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V throw v0 :catch_3 move-exception v0 new-instance v2, Ljava/lang/RuntimeException; new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V const-string v4, "Non-static member class cannot be created (missing enclosing class constructor): " invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual/range {p0 .. p0}, Ljava/lang/Class;->getName()Ljava/lang/String; move-result-object v1 invoke-virtual {v3, v1}, 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-direct {v2, v1, v0}, Ljava/lang/RuntimeException;->(Ljava/lang/String;Ljava/lang/Throwable;)V throw v2 :goto_9 monitor-exit v7 :try_end_8 .catchall {:try_start_8 .. :try_end_8} :catchall_0 throw v0 .end method .method public static a(Ly/b/a/g;Ljava/lang/String;Ljava/lang/String;)V .locals 7 const/4 v1, 0x1 const-string v2, "newInstance" const-string v3, "(Ljava/lang/Object;)Ljava/lang/Object;" const/4 v4, 0x0 const/4 v5, 0x0 move-object v0, p0 invoke-virtual/range {v0 .. v5}, Ly/b/a/g;->a(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)Ly/b/a/s; move-result-object p0 move-object v0, p0 check-cast v0, Ly/b/a/t; const/4 v0, 0x2 const-string v1, "" const/16 v2, 0xb7 const/16 v3, 0xbb const/16 v4, 0x59 if-eqz p2, :cond_0 invoke-virtual {p0, v3, p1}, Ly/b/a/s;->a(ILjava/lang/String;)V invoke-virtual {p0, v4}, Ly/b/a/s;->a(I)V const/16 v3, 0x19 const/4 v5, 0x1 invoke-virtual {p0, v3, v5}, Ly/b/a/s;->d(II)V const/16 v3, 0xc0 invoke-virtual {p0, v3, p2}, Ly/b/a/s;->a(ILjava/lang/String;)V invoke-virtual {p0, v4}, Ly/b/a/s;->a(I)V const/16 v3, 0xb6 const-string v4, "java/lang/Object" const-string v5, "getClass" const-string v6, "()Ljava/lang/Class;" invoke-virtual {p0, v3, v4, v5, v6}, Ly/b/a/s;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V const/16 v3, 0x57 invoke-virtual {p0, v3}, Ly/b/a/s;->a(I)V new-instance v3, Ljava/lang/StringBuilder; invoke-direct {v3}, Ljava/lang/StringBuilder;->()V const-string v4, "(L" invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string p2, ";)V" invoke-virtual {v3, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object p2 invoke-virtual {p0, v2, p1, v1, p2}, Ly/b/a/s;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V const/16 p1, 0xb0 invoke-virtual {p0, p1}, Ly/b/a/s;->a(I)V const/4 p1, 0x4 invoke-virtual {p0, p1, v0}, Ly/b/a/s;->c(II)V goto :goto_0 :cond_0 const-string p1, "java/lang/UnsupportedOperationException" invoke-virtual {p0, v3, p1}, Ly/b/a/s;->a(ILjava/lang/String;)V invoke-virtual {p0, v4}, Ly/b/a/s;->a(I)V const-string p2, "Not an inner class." invoke-virtual {p0, p2}, Ly/b/a/s;->a(Ljava/lang/Object;)V const-string p2, "(Ljava/lang/String;)V" invoke-virtual {p0, v2, p1, v1, p2}, Ly/b/a/s;->b(ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;)V const/16 p1, 0xbf invoke-virtual {p0, p1}, Ly/b/a/s;->a(I)V const/4 p1, 0x3 invoke-virtual {p0, p1, v0}, Ly/b/a/s;->c(II)V :goto_0 return-void .end method # virtual methods .method public abstract a()Ljava/lang/Object; .annotation system Ldalvik/annotation/Signature; value = { "()TT;" } .end annotation .end method