.class public Lg0/y; .super Ljava/lang/Object; .source "Platform.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lg0/y$a; } .end annotation # static fields .field public static final c:Lg0/y; # instance fields .field public final a:Z .field public final b:Ljava/lang/reflect/Constructor; .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/reflect/Constructor<", "Ljava/lang/invoke/MethodHandles$Lookup;", ">;" } .end annotation .end field # direct methods .method public static constructor ()V .locals 2 const-string v0, "java.vm.name" invoke-static {v0}, Ljava/lang/System;->getProperty(Ljava/lang/String;)Ljava/lang/String; move-result-object v0 const-string v1, "Dalvik" invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z move-result v0 if-eqz v0, :cond_0 new-instance v0, Lg0/y$a; invoke-direct {v0}, Lg0/y$a;->()V goto :goto_0 :cond_0 new-instance v0, Lg0/y; const/4 v1, 0x1 invoke-direct {v0, v1}, Lg0/y;->(Z)V :goto_0 sput-object v0, Lg0/y;->c:Lg0/y; return-void .end method .method public constructor (Z)V .locals 4 invoke-direct {p0}, Ljava/lang/Object;->()V iput-boolean p1, p0, Lg0/y;->a:Z const/4 v0, 0x0 if-eqz p1, :cond_0 :try_start_0 const-class p1, Ljava/lang/invoke/MethodHandles$Lookup; const/4 v1, 0x2 new-array v1, v1, [Ljava/lang/Class; const/4 v2, 0x0 const-class v3, Ljava/lang/Class; aput-object v3, v1, v2 sget-object v2, Ljava/lang/Integer;->TYPE:Ljava/lang/Class; const/4 v3, 0x1 aput-object v2, v1, v3 invoke-virtual {p1, v1}, Ljava/lang/Class;->getDeclaredConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor; move-result-object v0 invoke-virtual {v0, v3}, Ljava/lang/reflect/Constructor;->setAccessible(Z)V :try_end_0 .catch Ljava/lang/NoClassDefFoundError; {:try_start_0 .. :try_end_0} :catch_0 .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_0 :catch_0 :cond_0 iput-object v0, p0, Lg0/y;->b:Ljava/lang/reflect/Constructor; return-void .end method # virtual methods .method public a()Ljava/util/concurrent/Executor; .locals 1 const/4 v0, 0x0 return-object v0 .end method .method public varargs b(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/lang/reflect/Method;", "Ljava/lang/Class<", "*>;", "Ljava/lang/Object;", "[", "Ljava/lang/Object;", ")", "Ljava/lang/Object;" } .end annotation .annotation system Ldalvik/annotation/Throws; value = { Ljava/lang/Throwable; } .end annotation .annotation build Lorg/codehaus/mojo/animal_sniffer/IgnoreJRERequirement; .end annotation iget-object v0, p0, Lg0/y;->b:Ljava/lang/reflect/Constructor; if-eqz v0, :cond_0 const/4 v1, 0x2 new-array v1, v1, [Ljava/lang/Object; const/4 v2, 0x0 aput-object p2, v1, v2 const/4 v2, 0x1 const/4 v3, -0x1 invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; move-result-object v3 aput-object v3, v1, v2 invoke-virtual {v0, v1}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object; move-result-object v0 check-cast v0, Ljava/lang/invoke/MethodHandles$Lookup; goto :goto_0 :cond_0 invoke-static {}, Ljava/lang/invoke/MethodHandles;->lookup()Ljava/lang/invoke/MethodHandles$Lookup; move-result-object v0 :goto_0 invoke-virtual {v0, p1, p2}, Ljava/lang/invoke/MethodHandles$Lookup;->unreflectSpecial(Ljava/lang/reflect/Method;Ljava/lang/Class;)Ljava/lang/invoke/MethodHandle; move-result-object p1 invoke-virtual {p1, p3}, Ljava/lang/invoke/MethodHandle;->bindTo(Ljava/lang/Object;)Ljava/lang/invoke/MethodHandle; move-result-object p1 invoke-virtual {p1, p4}, Ljava/lang/invoke/MethodHandle;->invokeWithArguments([Ljava/lang/Object;)Ljava/lang/Object; move-result-object p1 return-object p1 .end method