c = Lang.source_file.tryParse(`.version 55 0
.class public super [2]
.super [3]
.method public [4] : [5]
.attribute [6] .code stack 1 locals 1
L0: aload_0
L1: invokespecial [7]
L4: return
L5:
.attribute [8] .linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.method public static [9] : [10]
.attribute [6] .code stack 2 locals 3
L0: new [11]
L3: dup
L4: invokespecial [12]
L7: astore_1
L8: aload_1
L9: ldc [1]
L11: invokevirtual [13]
L14: astore_2
L15: getstatic [14]
L18: aload_2
L19: invokevirtual [15]
L22: invokedynamic [16]
L27: invokevirtual [17]
L30: return
L31:
.attribute [8] .linenumbertable
L0 3
L8 4
L15 5
L30 6
.end linenumbertable
.end code
.end method
.attribute [18] .sourcefile [19]
.attribute [20] .innerclasses
[21] [22] [23] public static final
.end innerclasses
.attribute [60] .bootstrapmethods
.const [1] = String [59]
.const [2] = Class [58]
.const [3] = Class [57]
.const [4] = Utf8 <init>
.const [5] = Utf8 ()V
.const [6] = Utf8 Code
.const [7] = Method [3] [55]
.const [8] = Utf8 LineNumberTable
.const [9] = Utf8 main
.const [10] = Utf8 ([Ljava/lang/String;)V
.const [11] = Class [56]
.const [12] = Method [11] [55]
.const [13] = Method [11] [52]
.const [14] = Field [47] [48]
.const [15] = Method [42] [43]
.const [16] = InvokeDynamic [bs:0] [33]
.const [17] = Method [26] [27]
.const [18] = Utf8 SourceFile
.const [19] = Utf8 "MainApp.java"
.const [20] = Utf8 InnerClasses
.const [21] = Class [25]
.const [22] = Class [24]
.const [23] = Utf8 Lookup
.const [24] = Utf8 java/lang/invoke/MethodHandles
.const [25] = Utf8 java/lang/invoke/MethodHandles$Lookup
.const [26] = Class [30]
.const [27] = NameAndType [28] [29]
.const [28] = Utf8 println
.const [29] = Utf8 (Ljava/lang/String;)V
.const [30] = Utf8 java/io/PrintStream
.const [31] = MethodHandle invokeStatic [37]
.const [32] = String [36]
.const [33] = NameAndType [34] [35]
.const [34] = Utf8 makeConcatWithConstants
.const [35] = Utf8 (Ljava/lang/String;)Ljava/lang/String;
.const [36] = Utf8 "Produced a thing with name: \u0001"
.const [37] = Method [38] [39]
.const [38] = Class [41]
.const [39] = NameAndType [34] [40]
.const [40] = Utf8 (Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/invoke/CallSite;
.const [41] = Utf8 java/lang/invoke/StringConcatFactory
.const [42] = Class [46]
.const [43] = NameAndType [44] [45]
.const [44] = Utf8 getName
.const [45] = Utf8 ()Ljava/lang/String;
.const [46] = Utf8 Thing
.const [47] = Class [51]
.const [48] = NameAndType [49] [50]
.const [49] = Utf8 out
.const [50] = Utf8 Ljava/io/PrintStream;
.const [51] = Utf8 java/lang/System
.const [52] = NameAndType [53] [54]
.const [53] = Utf8 produceThing
.const [54] = Utf8 (Ljava/lang/String;)LThing;
.const [55] = NameAndType [4] [5]
.const [56] = Utf8 ThingProducer
.const [57] = Utf8 java/lang/Object
.const [58] = Utf8 MainApp
.const [59] = Utf8 MyThing
.const [60] = Utf8 BootstrapMethods
.bootstrap [bs:0] = Bootstrap [31] [32] :
.end class
`)