1.class LMain; 2 3.super Ljava/lang/Object; 4 5.method public static main([Ljava/lang/String;)V 6 .registers 15 7 8 new-instance v0, LCustom; 9 invoke-direct {v0}, LCustom;-><init>()V 10 11 const-string v1, "Arg to doSomething" 12 13 invoke-custom {v0, v1}, normallyLinkedCallSite("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; 14 move-result-object v2 15 sget-object v3, Ljava/lang/System;->out:Ljava/io/PrintStream; 16 const-string v4, "got back - " 17 invoke-virtual {v3, v4}, Ljava/io/PrintStream;->print(Ljava/lang/String;)V 18 invoke-virtual {v3, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V 19 20 invoke-custom {v0, v1}, backwardsLinkedCallSite("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; 21 move-result-object v2 22 sget-object v3, Ljava/lang/System;->out:Ljava/io/PrintStream; 23 const-string v4, "got back - " 24 invoke-virtual {v3, v4}, Ljava/io/PrintStream;->print(Ljava/lang/String;)V 25 invoke-virtual {v3, v2}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V 26.end method