1.class LInvokeCustom; 2.super Ljava/lang/Object; 3 4 5# direct methods 6.method public static invokeCustom([Ljava/lang/String;)V 7 .registers 15 8 9 new-instance v0, LCustom; 10 11 invoke-direct {v0}, LCustom;-><init>()V 12 13 const-string v1, "Arg to doSomething" 14 15 invoke-custom {v0, v1}, call_site_1("doSomething", (LCustom;Ljava/lang/String;)Ljava/lang/String;, "just testing")@LBootstrapLinker;->normalLink(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;)Ljava/lang/invoke/CallSite; 16 17 move-result-object v2 18 19 sget-object v3, Ljava/lang/System;->out:Ljava/io/PrintStream; 20 21 const-string v4, "got back - " 22 23 invoke-virtual {v3, v4}, Ljava/io/PrintStream;->print(Ljava/lang/String;)V 24 25 invoke-virtual {v3, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V 26 27 invoke-custom {v0, v1}, call_site_0("doSomething", (LCustom;Ljava/lang/String;)Ljava/lang/String;, "just testing")@LBootstrapLinker;->backwardsLink(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;)Ljava/lang/invoke/CallSite; 28 29 move-result-object v2 30 31 sget-object v3, Ljava/lang/System;->out:Ljava/io/PrintStream; 32 33 const-string v4, "got back - " 34 35 invoke-virtual {v3, v4}, Ljava/io/PrintStream;->print(Ljava/lang/String;)V 36 37 invoke-virtual {v3, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V 38.end method 39