public final class jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin implements jdk.tools.jlink.plugin.Plugin
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin
super_class: java.lang.Object
{
private static final java.lang.String NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "generate-jli-classes"
private static final java.lang.String IGNORE_VERSION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "ignore-version"
private static final java.lang.String DESCRIPTION;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String IGNORE_VERSION_WARNING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "generate-jli-classes.ignore.version.warn"
private static final java.lang.String VERSION_MISMATCH_WARNING;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "generate-jli-classes.version.mismatch.warn"
private static final java.lang.String DEFAULT_TRACE_FILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "default_jli_trace.txt"
private static final java.lang.String DIRECT_HOLDER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java/lang/invoke/DirectMethodHandle$Holder"
private static final java.lang.String DMH_INVOKE_VIRTUAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "invokeVirtual"
private static final java.lang.String DMH_INVOKE_STATIC;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "invokeStatic"
private static final java.lang.String DMH_INVOKE_SPECIAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "invokeSpecial"
private static final java.lang.String DMH_NEW_INVOKE_SPECIAL;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "newInvokeSpecial"
private static final java.lang.String DMH_INVOKE_INTERFACE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "invokeInterface"
private static final java.lang.String DMH_INVOKE_STATIC_INIT;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "invokeStaticInit"
private static final java.lang.String DELEGATING_HOLDER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java/lang/invoke/DelegatingMethodHandle$Holder"
private static final java.lang.String BASIC_FORMS_HOLDER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java/lang/invoke/LambdaForm$Holder"
private static final java.lang.String INVOKERS_HOLDER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "java/lang/invoke/Invokers$Holder"
private static final jdk.internal.misc.JavaLangInvokeAccess JLIA;
descriptor: Ljdk/internal/misc/JavaLangInvokeAccess;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.util.Set<java.lang.String> speciesTypes;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/String;>;
java.util.Set<java.lang.String> invokerTypes;
descriptor: Ljava/util/Set;
flags: (0x0000)
Signature: Ljava/util/Set<Ljava/lang/String;>;
java.util.Map<java.lang.String, java.util.Set<java.lang.String>> dmhMethods;
descriptor: Ljava/util/Map;
flags: (0x0000)
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
java.lang.String mainArgument;
descriptor: Ljava/lang/String;
flags: (0x0000)
boolean ignoreVersion;
descriptor: Z
flags: (0x0000)
private static final java.util.Map<java.lang.String, java.lang.Integer> DMH_METHOD_TYPE_MAP;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
private static final java.lang.String DIRECT_METHOD_HOLDER_ENTRY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/java.base/java/lang/invoke/DirectMethodHandle$Holder.class"
private static final java.lang.String DELEGATING_METHOD_HOLDER_ENTRY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/java.base/java/lang/invoke/DelegatingMethodHandle$Holder.class"
private static final java.lang.String BASIC_FORMS_HOLDER_ENTRY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/java.base/java/lang/invoke/LambdaForm$Holder.class"
private static final java.lang.String INVOKERS_HOLDER_ENTRY;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/java.base/java/lang/invoke/Invokers$Holder.class"
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=12, locals=0, args_size=0
0: ldc Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.$assertionsDisabled:Z
3: ldc "generate-jli-classes"
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getDescription:(Ljava/lang/String;)Ljava/lang/String;
putstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.DESCRIPTION:Ljava/lang/String;
4: invokestatic jdk.internal.misc.SharedSecrets.getJavaLangInvokeAccess:()Ljdk/internal/misc/JavaLangInvokeAccess;
5: putstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
6: ldc "invokeVirtual"
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
7: ldc "invokeStatic"
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
8: ldc "invokeSpecial"
iconst_2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
9: ldc "newInvokeSpecial"
iconst_3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
10: ldc "invokeInterface"
iconst_4
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
11: ldc "invokeStaticInit"
iconst_5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
12: invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
13: putstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.DMH_METHOD_TYPE_MAP:Ljava/util/Map;
14: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
invokestatic java.util.Set.of:()Ljava/util/Set;
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
2: aload 0
invokestatic java.util.Set.of:()Ljava/util/Set;
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
3: aload 0
invokestatic java.util.Map.of:()Ljava/util/Map;
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "generate-jli-classes"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
public java.lang.String getDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.DESCRIPTION:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
public java.util.Set<jdk.tools.jlink.plugin.Plugin$State> getState();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic jdk.tools.jlink.plugin.Plugin$State.AUTO_ENABLED:Ljdk/tools/jlink/plugin/Plugin$State;
getstatic jdk.tools.jlink.plugin.Plugin$State.FUNCTIONAL:Ljdk/tools/jlink/plugin/Plugin$State;
invokestatic java.util.EnumSet.of:(Ljava/lang/Enum;Ljava/lang/Enum;)Ljava/util/EnumSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
Signature: ()Ljava/util/Set<Ljdk/tools/jlink/plugin/Plugin$State;>;
public boolean hasArguments();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
public java.lang.String getArgumentsDescription();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "generate-jli-classes"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getArgument:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
public static java.util.Set<java.lang.String> defaultSpecies();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 27
anewarray java.lang.String
dup
iconst_0
ldc "LL"
aastore
dup
iconst_1
ldc "L3"
aastore
dup
iconst_2
ldc "L4"
aastore
dup
iconst_3
ldc "L5"
aastore
dup
iconst_4
ldc "L6"
aastore
dup
iconst_5
ldc "L7"
aastore
dup
bipush 6
ldc "L7I"
aastore
dup
bipush 7
1: ldc "L7II"
aastore
dup
bipush 8
ldc "L7IIL"
aastore
dup
bipush 9
ldc "L8"
aastore
dup
bipush 10
ldc "L9"
aastore
dup
bipush 11
ldc "L10"
aastore
dup
bipush 12
ldc "L10I"
aastore
dup
bipush 13
ldc "L10II"
aastore
dup
bipush 14
ldc "L10IIL"
aastore
dup
bipush 15
2: ldc "L11"
aastore
dup
bipush 16
ldc "L12"
aastore
dup
bipush 17
ldc "L13"
aastore
dup
bipush 18
ldc "LI"
aastore
dup
bipush 19
ldc "D"
aastore
dup
bipush 20
ldc "L3I"
aastore
dup
bipush 21
ldc "LIL"
aastore
dup
bipush 22
ldc "LLI"
aastore
dup
bipush 23
ldc "LLIL"
aastore
dup
bipush 24
3: ldc "LILL"
aastore
dup
bipush 25
ldc "I"
aastore
dup
bipush 26
ldc "LLILL"
aastore
4: invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
private static java.util.Set<java.lang.String> defaultInvokers();
descriptor: ()Ljava/util/Set;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc "LL_L"
ldc "LL_I"
ldc "LILL_I"
ldc "L6_L"
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
private static java.util.Map<java.lang.String, java.util.Set<java.lang.String>> defaultDMHMethods();
descriptor: ()Ljava/util/Map;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=9, locals=0, args_size=0
0: ldc "invokeVirtual"
ldc "L_L"
ldc "LL_L"
ldc "LLI_I"
ldc "L3_V"
invokestatic java.util.Set.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Set;
1: ldc "invokeSpecial"
bipush 30
anewarray java.lang.String
dup
iconst_0
ldc "LL_I"
aastore
dup
iconst_1
ldc "LL_L"
aastore
dup
iconst_2
ldc "LLF_L"
aastore
dup
iconst_3
ldc "LLD_L"
aastore
dup
iconst_4
ldc "L3_L"
aastore
dup
iconst_5
2: ldc "L4_L"
aastore
dup
bipush 6
ldc "L5_L"
aastore
dup
bipush 7
ldc "L6_L"
aastore
dup
bipush 8
ldc "L7_L"
aastore
dup
bipush 9
ldc "L8_L"
aastore
dup
bipush 10
ldc "LLI_I"
aastore
dup
bipush 11
ldc "LLI_L"
aastore
dup
bipush 12
3: ldc "LLIL_I"
aastore
dup
bipush 13
ldc "LLII_I"
aastore
dup
bipush 14
ldc "LLII_L"
aastore
dup
bipush 15
ldc "L3I_L"
aastore
dup
bipush 16
ldc "L3I_I"
aastore
dup
bipush 17
ldc "LLILI_I"
aastore
dup
bipush 18
4: ldc "LLIIL_L"
aastore
dup
bipush 19
ldc "LLIILL_L"
aastore
dup
bipush 20
ldc "LLIILL_I"
aastore
dup
bipush 21
ldc "LLIIL_I"
aastore
dup
bipush 22
ldc "LLILIL_I"
aastore
dup
bipush 23
5: ldc "LLILILL_I"
aastore
dup
bipush 24
ldc "LLILII_I"
aastore
dup
bipush 25
ldc "LLI3_I"
aastore
dup
bipush 26
ldc "LLI3L_I"
aastore
dup
bipush 27
ldc "LLI3LL_I"
aastore
dup
bipush 28
6: ldc "LLI3_L"
aastore
dup
bipush 29
ldc "LLI4_I"
aastore
7: invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
8: ldc "invokeStatic"
bipush 31
anewarray java.lang.String
dup
iconst_0
ldc "LII_I"
aastore
dup
iconst_1
ldc "LIL_I"
aastore
dup
iconst_2
ldc "LILIL_I"
aastore
dup
iconst_3
ldc "LILII_I"
aastore
dup
iconst_4
9: ldc "L_I"
aastore
dup
iconst_5
ldc "L_L"
aastore
dup
bipush 6
ldc "L_V"
aastore
dup
bipush 7
ldc "LD_L"
aastore
dup
bipush 8
ldc "LF_L"
aastore
dup
bipush 9
ldc "LI_I"
aastore
dup
bipush 10
ldc "LII_L"
aastore
dup
bipush 11
ldc "LLI_L"
aastore
dup
bipush 12
10: ldc "LL_V"
aastore
dup
bipush 13
ldc "LL_L"
aastore
dup
bipush 14
ldc "L3_L"
aastore
dup
bipush 15
ldc "L4_L"
aastore
dup
bipush 16
ldc "L5_L"
aastore
dup
bipush 17
ldc "L6_L"
aastore
dup
bipush 18
ldc "L7_L"
aastore
dup
bipush 19
11: ldc "L8_L"
aastore
dup
bipush 20
ldc "L9_L"
aastore
dup
bipush 21
ldc "L10_L"
aastore
dup
bipush 22
ldc "L10I_L"
aastore
dup
bipush 23
ldc "L10II_L"
aastore
dup
bipush 24
ldc "L10IIL_L"
aastore
dup
bipush 25
12: ldc "L11_L"
aastore
dup
bipush 26
ldc "L12_L"
aastore
dup
bipush 27
ldc "L13_L"
aastore
dup
bipush 28
ldc "L14_L"
aastore
dup
bipush 29
ldc "L14I_L"
aastore
dup
bipush 30
ldc "L14II_L"
aastore
13: invokestatic java.util.Set.of:([Ljava/lang/Object;)Ljava/util/Set;
14: invokestatic java.util.Map.of:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/util/Map;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Map<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
public void configure(java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc "generate-jli-classes"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.mainArgument:Ljava/lang/String;
1: aload 0
aload 1
ldc "ignore-version"
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.ignoreVersion:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 3 1 config Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
config
public void initialize(jdk.tools.jlink.plugin.ResourcePool);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.defaultSpecies:()Ljava/util/Set;
invokeinterface java.util.Set.stream:()Ljava/util/stream/Stream;
1: invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$0(Ljava/lang/String;)Ljava/lang/String; (6)
(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
2: invokestatic java.util.stream.Collectors.toSet:()Ljava/util/stream/Collector;
invokeinterface java.util.stream.Stream.collect:(Ljava/util/stream/Collector;)Ljava/lang/Object;
checkcast java.util.Set
3: putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
4: aload 0
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.defaultInvokers:()Ljava/util/Set;
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
5: aload 0
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.validateMethodTypes:(Ljava/util/Set;)V
6: aload 0
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.defaultDMHMethods:()Ljava/util/Map;
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
7: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
goto 10
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePool top java.util.Iterator
StackMap stack:
8: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Set
astore 2
start local 2 9: aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.validateMethodTypes:(Ljava/util/Set;)V
end local 2 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
11: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.mainArgument:Ljava/lang/String;
ifnull 12
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.mainArgument:Ljava/lang/String;
ldc "@"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 30
12: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePool
StackMap stack:
aconst_null
astore 2
aconst_null
astore 3
13: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "default_jli_trace.txt"
invokevirtual java.lang.Class.getResourceAsStream:(Ljava/lang/String;)Ljava/io/InputStream;
14: astore 4
start local 4 15: aload 4
ifnull 22
16: aload 0
17: new java.io.BufferedReader
dup
18: new java.io.InputStreamReader
dup
aload 4
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;)V
19: invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
20: invokevirtual java.io.BufferedReader.lines:()Ljava/util/stream/Stream;
21: invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.readTraceConfig:(Ljava/util/stream/Stream;)V
22: StackMap locals: java.lang.Throwable java.lang.Throwable java.io.InputStream
StackMap stack:
aload 4
ifnull 33
aload 4
invokevirtual java.io.InputStream.close:()V
goto 33
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 4
ifnull 24
aload 4
invokevirtual java.io.InputStream.close:()V
end local 4 StackMap locals:
StackMap stack:
24: aload 2
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
25: astore 3
aload 2
ifnonnull 26
aload 3
astore 2
goto 27
StackMap locals:
StackMap stack:
26: aload 2
aload 3
if_acmpeq 27
aload 2
aload 3
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
27: aload 2
athrow
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePool
StackMap stack: java.lang.Exception
28: astore 2
start local 2 29: new jdk.tools.jlink.plugin.PluginException
dup
ldc "Couldn't read default_jli_trace.txt"
aload 2
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 30: StackMap locals:
StackMap stack:
new java.io.File
dup
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.mainArgument:Ljava/lang/String;
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 2
start local 2 31: aload 2
invokevirtual java.io.File.exists:()Z
ifeq 33
32: aload 0
aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.fileLines:(Ljava/io/File;)Ljava/util/stream/Stream;
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.readTraceConfig:(Ljava/util/stream/Stream;)V
end local 2 33: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 34 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 34 1 in Ljdk/tools/jlink/plugin/ResourcePool;
9 10 2 dmhMethodTypes Ljava/util/Set<Ljava/lang/String;>;
15 24 4 traceFile Ljava/io/InputStream;
29 30 2 e Ljava/lang/Exception;
31 33 2 file Ljava/io/File;
Exception table:
from to target type
15 22 23 any
13 25 25 any
12 28 28 Class java.lang.Exception
MethodParameters:
Name Flags
in
private boolean checkVersion(java.lang.Runtime$Version);
descriptor: (Ljava/lang/Runtime$Version;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: invokestatic java.lang.Runtime.version:()Ljava/lang/Runtime$Version;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Runtime$Version.major:()I
aload 1
invokevirtual java.lang.Runtime$Version.major:()I
if_icmpne 3
2: aload 2
invokevirtual java.lang.Runtime$Version.minor:()I
aload 1
invokevirtual java.lang.Runtime$Version.minor:()I
if_icmpeq 4
3: StackMap locals: java.lang.Runtime$Version
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 5 1 linkedVersion Ljava/lang/Runtime$Version;
1 5 2 baseVersion Ljava/lang/Runtime$Version;
MethodParameters:
Name Flags
linkedVersion
private java.lang.Runtime$Version getLinkedVersion(jdk.tools.jlink.plugin.ResourcePool);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;)Ljava/lang/Runtime$Version;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface jdk.tools.jlink.plugin.ResourcePool.moduleView:()Ljdk/tools/jlink/plugin/ResourcePoolModuleView;
1: ldc "java.base"
invokeinterface jdk.tools.jlink.plugin.ResourcePoolModuleView.findModule:(Ljava/lang/String;)Ljava/util/Optional;
2: invokevirtual java.util.Optional.get:()Ljava/lang/Object;
checkcast jdk.tools.jlink.plugin.ResourcePoolModule
3: invokeinterface jdk.tools.jlink.plugin.ResourcePoolModule.descriptor:()Ljava/lang/module/ModuleDescriptor;
4: invokevirtual java.lang.module.ModuleDescriptor.version:()Ljava/util/Optional;
5: invokedynamic get()Ljava/util/function/Supplier;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$1()Ljdk/tools/jlink/plugin/PluginException; (6)
()Ljdk/tools/jlink/plugin/PluginException;
invokevirtual java.util.Optional.orElseThrow:(Ljava/util/function/Supplier;)Ljava/lang/Object;
checkcast java.lang.module.ModuleDescriptor$Version
6: astore 2
start local 2 7: aload 2
invokevirtual java.lang.module.ModuleDescriptor$Version.toString:()Ljava/lang/String;
invokestatic java.lang.Runtime$Version.parse:(Ljava/lang/String;)Ljava/lang/Runtime$Version;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 8 1 in Ljdk/tools/jlink/plugin/ResourcePool;
7 8 2 version Ljava/lang/module/ModuleDescriptor$Version;
MethodParameters:
Name Flags
in
private void readTraceConfig(java.util.stream.Stream<java.lang.String>);
descriptor: (Ljava/util/stream/Stream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
new java.util.TreeSet
dup
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
1: aload 0
new java.util.TreeSet
dup
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
2: new java.util.TreeMap
dup
invokespecial java.util.TreeMap.<init>:()V
astore 2
start local 2 3: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 6
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin java.util.stream.Stream java.util.TreeMap top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 5: aload 2
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
new java.util.TreeSet
dup
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Collection
invokespecial java.util.TreeSet.<init>:(Ljava/util/Collection;)V
invokevirtual java.util.TreeMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: aload 0
aload 2
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
8: aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$2(Ljava/lang/String;)[Ljava/lang/String; (6)
(Ljava/lang/String;)[Ljava/lang/String;
invokeinterface java.util.stream.Stream.map:(Ljava/util/function/Function;)Ljava/util/stream/Stream;
9: aload 0
invokedynamic accept(Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$3([Ljava/lang/String;)V (7)
([Ljava/lang/String;)V
invokeinterface java.util.stream.Stream.forEach:(Ljava/util/function/Consumer;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 11 1 lines Ljava/util/stream/Stream<Ljava/lang/String;>;
3 11 2 newDMHMethods Ljava/util/TreeMap<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
5 6 3 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
Signature: (Ljava/util/stream/Stream<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
lines
private void addDMHMethodType(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.validateMethodType:(Ljava/lang/String;)V
1: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Set
astore 3
start local 3 2: aload 3
ifnonnull 5
3: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 3
4: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
aload 1
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: java.util.Set
StackMap stack:
aload 3
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
6: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 7 1 dmh Ljava/lang/String;
0 7 2 methodType Ljava/lang/String;
2 7 3 methodTypes Ljava/util/Set<Ljava/lang/String;>;
MethodParameters:
Name Flags
dmh
methodType
private java.util.stream.Stream<java.lang.String> fileLines(java.io.File);
descriptor: (Ljava/io/File;)Ljava/util/stream/Stream;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.File.toPath:()Ljava/nio/file/Path;
invokestatic java.nio.file.Files.lines:(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
1: areturn
2: StackMap locals:
StackMap stack: java.io.IOException
pop
3: new jdk.tools.jlink.plugin.PluginException
dup
ldc "Couldn't read file"
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 4 1 file Ljava/io/File;
Exception table:
from to target type
0 1 2 Class java.io.IOException
Signature: (Ljava/io/File;)Ljava/util/stream/Stream<Ljava/lang/String;>;
MethodParameters:
Name Flags
file
private void validateMethodTypes(java.util.Set<java.lang.String>);
descriptor: (Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 3
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin java.util.Set top java.util.Iterator
StackMap stack:
1: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 2
start local 2 2: aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.validateMethodType:(Ljava/lang/String;)V
end local 2 3: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 5 1 dmhMethodTypes Ljava/util/Set<Ljava/lang/String;>;
2 3 2 type Ljava/lang/String;
Signature: (Ljava/util/Set<Ljava/lang/String;>;)V
MethodParameters:
Name Flags
dmhMethodTypes
private void validateMethodType(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "_"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 1: aload 2
arraylength
iconst_2
if_icmpne 3
aload 2
iconst_1
aaload
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 3
2: ldc "LJIFDV"
aload 2
iconst_1
aaload
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokevirtual java.lang.String.indexOf:(I)I
iconst_m1
if_icmpne 6
3: StackMap locals: java.lang.String[]
StackMap stack:
new jdk.tools.jlink.plugin.PluginException
dup
4: ldc "Method type signature must be of form [LJIFD]*_[LJIFDV]"
5: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.expandSignature:(Ljava/lang/String;)Ljava/lang/String;
pop
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 8 1 type Ljava/lang/String;
1 8 2 typeParts [Ljava/lang/String;
MethodParameters:
Name Flags
type
private static void requireBasicType(char);
descriptor: (C)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: ldc "LIJFD"
iload 0
invokevirtual java.lang.String.indexOf:(I)I
ifge 4
1: new jdk.tools.jlink.plugin.PluginException
dup
2: new java.lang.StringBuilder
dup
ldc "Character "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
ldc " must correspond to a basic field type: LIJFD"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 c C
MethodParameters:
Name Flags
c
public jdk.tools.jlink.plugin.ResourcePool transform(jdk.tools.jlink.plugin.ResourcePool, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePool;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)Ljdk/tools/jlink/plugin/ResourcePool;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.ignoreVersion:Z
ifeq 5
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
2: ldc "generate-jli-classes.ignore.version.warn"
iconst_0
anewarray java.lang.Object
invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
3: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: goto 15
StackMap locals:
StackMap stack:
5: aload 0
aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.getLinkedVersion:(Ljdk/tools/jlink/plugin/ResourcePool;)Ljava/lang/Runtime$Version;
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.checkVersion:(Ljava/lang/Runtime$Version;)Z
ifne 15
6: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.mainArgument:Ljava/lang/String;
ifnull 13
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
8: ldc "generate-jli-classes.version.mismatch.warn"
iconst_2
anewarray java.lang.Object
dup
iconst_0
9: aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.getLinkedVersion:(Ljdk/tools/jlink/plugin/ResourcePool;)Ljava/lang/Runtime$Version;
aastore
dup
iconst_1
10: invokestatic java.lang.Runtime.version:()Ljava/lang/Runtime$Version;
aastore
11: invokestatic jdk.tools.jlink.internal.plugins.PluginsResourceBundle.getMessage:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
12: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
13: StackMap locals:
StackMap stack:
aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$4(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry; (6)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePool.transformAndCopy:(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
14: aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.build:()Ljdk/tools/jlink/plugin/ResourcePool;
areturn
15: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.initialize:(Ljdk/tools/jlink/plugin/ResourcePool;)V
16: aload 1
invokedynamic apply()Ljava/util/function/Function;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Ljava/lang/Object;
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$5(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry; (6)
(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
17: aload 2
18: invokeinterface jdk.tools.jlink.plugin.ResourcePool.transformAndCopy:(Ljava/util/function/Function;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
19: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
aload 0
aload 2
invokedynamic accept(Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)Ljava/util/function/Consumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)V
jdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin.lambda$6(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljava/lang/String;)V (7)
(Ljava/lang/String;)V
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
20: aload 0
aload 2
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.generateHolderClasses:(Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
21: aload 0
aconst_null
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
22: aload 0
aconst_null
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
23: aload 0
aconst_null
putfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
24: aload 2
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.build:()Ljdk/tools/jlink/plugin/ResourcePool;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 25 1 in Ljdk/tools/jlink/plugin/ResourcePool;
0 25 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
MethodParameters:
Name Flags
in
out
private void generateBMHClass(java.lang.String, jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
aload 1
invokeinterface jdk.internal.misc.JavaLangInvokeAccess.generateConcreteBMHClassBytes:(Ljava/lang/String;)Ljava/util/Map$Entry;
1: astore 3
start local 3 2: aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 3: aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast byte[]
astore 5
start local 5 4: new java.lang.StringBuilder
dup
ldc "/java.base/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: aload 5
6: invokestatic jdk.tools.jlink.plugin.ResourcePoolEntry.create:(Ljava/lang/String;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 6
start local 6 7: aload 2
aload 6
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
end local 6 end local 5 end local 4 end local 3 8: goto 11
StackMap locals:
StackMap stack: java.lang.Exception
9: astore 3
start local 3 10: new jdk.tools.jlink.plugin.PluginException
dup
aload 3
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 3 11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 12 1 types Ljava/lang/String;
0 12 2 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
2 8 3 result Ljava/util/Map$Entry<Ljava/lang/String;[B>;
3 8 4 className Ljava/lang/String;
4 8 5 bytes [B
7 8 6 ndata Ljdk/tools/jlink/plugin/ResourcePoolEntry;
10 11 3 ex Ljava/lang/Exception;
Exception table:
from to target type
0 8 9 Class java.lang.Exception
MethodParameters:
Name Flags
types
out
private void generateHolderClasses(jdk.tools.jlink.plugin.ResourcePoolBuilder);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=12, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Set
astore 3
start local 3 3: iload 2
aload 3
invokeinterface java.util.Set.size:()I
iadd
istore 2
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iload 2
anewarray java.lang.invoke.MethodType
astore 3
start local 3 6: iload 2
newarray 10
astore 4
start local 4 7: iconst_0
istore 5
start local 5 8: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.dmhMethods:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 7
goto 23
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int top java.util.Iterator
StackMap stack:
9: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 6
start local 6 10: aload 6
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 11: aload 6
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast java.util.Set
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 10
goto 22
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.util.Map$Entry java.util.Iterator java.lang.String top java.util.Iterator
StackMap stack:
12: aload 10
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 9
start local 9 13: aload 9
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.asMethodType:(Ljava/lang/String;)Ljava/lang/invoke/MethodType;
astore 11
start local 11 14: aload 11
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
if_icmplt 16
15: aload 11
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpeq 19
16: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.util.Map$Entry java.util.Iterator java.lang.String java.lang.String java.util.Iterator java.lang.invoke.MethodType
StackMap stack:
new jdk.tools.jlink.plugin.PluginException
dup
17: ldc "DMH type parameter must start with L"
18: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
19: StackMap locals:
StackMap stack:
aload 3
iload 5
aload 11
iconst_0
iconst_1
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
aastore
20: aload 4
iload 5
getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.DMH_METHOD_TYPE_MAP:Ljava/util/Map;
aload 8
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
iastore
21: iinc 5 1
end local 11 end local 9 22: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.util.Map$Entry java.util.Iterator java.lang.String top java.util.Iterator
StackMap stack:
aload 10
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
end local 8 end local 6 23: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
24: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
invokeinterface java.util.Set.size:()I
anewarray java.lang.invoke.MethodType
astore 6
start local 6 25: iconst_0
istore 7
start local 7 26: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 9
goto 39
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.lang.invoke.MethodType[] int top java.util.Iterator
StackMap stack:
27: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 8
start local 8 28: aload 8
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.asMethodType:(Ljava/lang/String;)Ljava/lang/invoke/MethodType;
astore 10
start local 10 29: aload 10
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_1
isub
istore 11
start local 11 30: aload 10
invokevirtual java.lang.invoke.MethodType.parameterCount:()I
iconst_2
if_icmplt 33
31: aload 10
iconst_0
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpne 33
32: aload 10
iload 11
invokevirtual java.lang.invoke.MethodType.parameterType:(I)Ljava/lang/Class;
ldc Ljava/lang/Object;
if_acmpeq 36
33: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.lang.invoke.MethodType[] int java.lang.String java.util.Iterator java.lang.invoke.MethodType int
StackMap stack:
new jdk.tools.jlink.plugin.PluginException
dup
34: ldc "Invoker type parameter must start and end with L"
35: invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
athrow
36: StackMap locals:
StackMap stack:
aload 10
iload 11
iload 11
iconst_1
iadd
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
astore 10
37: aload 6
iload 7
aload 10
iconst_0
iconst_1
invokevirtual java.lang.invoke.MethodType.dropParameterTypes:(II)Ljava/lang/invoke/MethodType;
aastore
38: iinc 7 1
end local 11 end local 10 end local 8 39: StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.lang.invoke.MethodType[] int top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 27
40: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
41: ldc "java/lang/invoke/DirectMethodHandle$Holder"
aload 3
aload 4
42: invokeinterface jdk.internal.misc.JavaLangInvokeAccess.generateDirectMethodHandleHolderClassBytes:(Ljava/lang/String;[Ljava/lang/invoke/MethodType;[I)[B
astore 8
start local 8 43: ldc "/java.base/java/lang/invoke/DirectMethodHandle$Holder.class"
aload 8
invokestatic jdk.tools.jlink.plugin.ResourcePoolEntry.create:(Ljava/lang/String;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
44: astore 9
start local 9 45: aload 1
aload 9
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
46: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
47: ldc "java/lang/invoke/DelegatingMethodHandle$Holder"
aload 3
48: invokeinterface jdk.internal.misc.JavaLangInvokeAccess.generateDelegatingMethodHandleHolderClassBytes:(Ljava/lang/String;[Ljava/lang/invoke/MethodType;)[B
astore 8
49: ldc "/java.base/java/lang/invoke/DelegatingMethodHandle$Holder.class"
aload 8
invokestatic jdk.tools.jlink.plugin.ResourcePoolEntry.create:(Ljava/lang/String;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 9
50: aload 1
aload 9
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
51: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
ldc "java/lang/invoke/Invokers$Holder"
52: aload 6
53: invokeinterface jdk.internal.misc.JavaLangInvokeAccess.generateInvokersHolderClassBytes:(Ljava/lang/String;[Ljava/lang/invoke/MethodType;)[B
astore 8
54: ldc "/java.base/java/lang/invoke/Invokers$Holder.class"
aload 8
invokestatic jdk.tools.jlink.plugin.ResourcePoolEntry.create:(Ljava/lang/String;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 9
55: aload 1
aload 9
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
56: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.JLIA:Ljdk/internal/misc/JavaLangInvokeAccess;
ldc "java/lang/invoke/LambdaForm$Holder"
invokeinterface jdk.internal.misc.JavaLangInvokeAccess.generateBasicFormsClassBytes:(Ljava/lang/String;)[B
astore 8
57: ldc "/java.base/java/lang/invoke/LambdaForm$Holder.class"
aload 8
invokestatic jdk.tools.jlink.plugin.ResourcePoolEntry.create:(Ljava/lang/String;[B)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
astore 9
58: aload 1
aload 9
invokeinterface jdk.tools.jlink.plugin.ResourcePoolBuilder.add:(Ljdk/tools/jlink/plugin/ResourcePoolEntry;)V
end local 9 end local 8 59: goto 62
StackMap locals: jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin jdk.tools.jlink.plugin.ResourcePoolBuilder int java.lang.invoke.MethodType[] int[] int java.lang.invoke.MethodType[] int
StackMap stack: java.lang.Exception
60: astore 8
start local 8 61: new jdk.tools.jlink.plugin.PluginException
dup
aload 8
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 8 62: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 63 1 out Ljdk/tools/jlink/plugin/ResourcePoolBuilder;
1 63 2 count I
3 4 3 entry Ljava/util/Set<Ljava/lang/String;>;
6 63 3 directMethodTypes [Ljava/lang/invoke/MethodType;
7 63 4 dmhTypes [I
8 63 5 index I
10 23 6 entry Ljava/util/Map$Entry<Ljava/lang/String;Ljava/util/Set<Ljava/lang/String;>;>;
11 23 8 dmhType Ljava/lang/String;
13 22 9 type Ljava/lang/String;
14 22 11 mt Ljava/lang/invoke/MethodType;
25 63 6 invokerMethodTypes [Ljava/lang/invoke/MethodType;
26 63 7 i I
28 39 8 invokerType Ljava/lang/String;
29 39 10 mt Ljava/lang/invoke/MethodType;
30 39 11 lastParam I
43 59 8 bytes [B
45 59 9 ndata Ljdk/tools/jlink/plugin/ResourcePoolEntry;
61 62 8 ex Ljava/lang/Exception;
Exception table:
from to target type
40 59 60 Class java.lang.Exception
MethodParameters:
Name Flags
out
private static java.lang.String expandSignature(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: bipush 88
istore 2
start local 2 2: iconst_0
istore 3
start local 3 3: iconst_0
istore 4
start local 4 4: goto 20
5: StackMap locals: java.lang.String java.lang.StringBuilder int int int
StackMap stack:
aload 0
iload 4
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 6: iload 5
bipush 48
if_icmplt 10
iload 5
bipush 57
if_icmpgt 10
7: iload 3
bipush 10
imul
istore 3
8: iload 3
iload 5
bipush 48
isub
iadd
istore 3
9: goto 19
10: StackMap locals: int
StackMap stack:
iload 5
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.requireBasicType:(C)V
11: iconst_1
istore 6
start local 6 12: goto 15
13: StackMap locals: int
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
14: iinc 6 1
StackMap locals:
StackMap stack:
15: iload 6
iload 3
if_icmplt 13
end local 6 16: aload 1
iload 5
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
17: iload 5
istore 2
18: iconst_0
istore 3
end local 5 19: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
20: iload 4
aload 0
invokevirtual java.lang.String.length:()I
if_icmplt 5
end local 4 21: iload 3
iconst_1
if_icmple 28
22: iload 2
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.requireBasicType:(C)V
23: iconst_1
istore 4
start local 4 24: goto 27
25: StackMap locals:
StackMap stack:
aload 1
iload 2
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
26: iinc 4 1
StackMap locals:
StackMap stack:
27: iload 4
iload 3
if_icmplt 25
end local 4 28: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 signature Ljava/lang/String;
1 29 1 sb Ljava/lang/StringBuilder;
2 29 2 last C
3 29 3 count I
4 21 4 i I
6 19 5 c C
12 16 6 j I
24 28 4 j I
MethodParameters:
Name Flags
signature
private static java.lang.invoke.MethodType asMethodType(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/invoke/MethodType;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=6, args_size=1
start local 0 0: aload 0
ldc "_"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 1
start local 1 1: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.$assertionsDisabled:Z
ifne 2
aload 1
arraylength
iconst_2
if_icmpeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: java.lang.String[]
StackMap stack:
getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.$assertionsDisabled:Z
ifne 3
aload 1
iconst_1
aaload
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpeq 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 1
iconst_0
aaload
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.expandSignature:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 4: aload 1
iconst_1
aaload
iconst_0
invokevirtual java.lang.String.charAt:(I)C
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.simpleType:(C)Ljava/lang/Class;
astore 3
start local 3 5: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 7
6: aload 3
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
areturn
7: StackMap locals: java.lang.String java.lang.Class
StackMap stack:
aload 2
invokevirtual java.lang.String.length:()I
anewarray java.lang.Class
astore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 12
10: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 4
iload 5
aload 2
iload 5
invokevirtual java.lang.String.charAt:(I)C
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.simpleType:(C)Ljava/lang/Class;
aastore
11: iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 4
arraylength
if_icmplt 10
end local 5 13: aload 3
aload 4
invokestatic java.lang.invoke.MethodType.methodType:(Ljava/lang/Class;[Ljava/lang/Class;)Ljava/lang/invoke/MethodType;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 basicSignatureString Ljava/lang/String;
1 14 1 parts [Ljava/lang/String;
4 14 2 parameters Ljava/lang/String;
5 14 3 rtype Ljava/lang/Class<*>;
8 14 4 ptypes [Ljava/lang/Class;
9 13 5 i I
MethodParameters:
Name Flags
basicSignatureString
private static java.lang.Class<?> simpleType(char);
descriptor: (C)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iload 0
tableswitch { // 66 - 90
66: 7
67: 7
68: 2
69: 10
70: 1
71: 10
72: 10
73: 3
74: 5
75: 10
76: 4
77: 10
78: 10
79: 10
80: 10
81: 10
82: 10
83: 7
84: 10
85: 10
86: 6
87: 10
88: 10
89: 10
90: 7
default: 10
}
1: StackMap locals:
StackMap stack:
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
areturn
2: StackMap locals:
StackMap stack:
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
areturn
3: StackMap locals:
StackMap stack:
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
areturn
4: StackMap locals:
StackMap stack:
ldc Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
areturn
6: StackMap locals:
StackMap stack:
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Not a valid primitive: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
8: ldc " (use I instead)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Not a primitive: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 0
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 c C
Signature: (C)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
c
private static java.lang.String lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.expandSignature:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/String;
private static jdk.tools.jlink.plugin.PluginException lambda$1();
descriptor: ()Ljdk/tools/jlink/plugin/PluginException;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=0, args_size=0
0: new jdk.tools.jlink.plugin.PluginException
dup
ldc "No version defined in the java.base being linked"
invokespecial jdk.tools.jlink.plugin.PluginException.<init>:(Ljava/lang/String;)V
1: areturn
LocalVariableTable:
Start End Slot Name Signature
private static java.lang.String[] lambda$2(java.lang.String);
descriptor: (Ljava/lang/String;)[Ljava/lang/String;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 line Ljava/lang/String;
private void lambda$3(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
iconst_0
aaload
dup
astore 2
invokevirtual java.lang.String.hashCode:()I
lookupswitch { // 2
-606951941: 1
1636066446: 2
default: 15
}
StackMap locals: java.lang.String
StackMap stack:
1: aload 2
ldc "[LF_RESOLVE]"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 5
goto 15
StackMap locals:
StackMap stack:
2: aload 2
ldc "[BMH_RESOLVE]"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 3
goto 15
3: StackMap locals:
StackMap stack:
aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.speciesTypes:Ljava/util/Set;
aload 1
iconst_1
aaload
invokestatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.expandSignature:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: goto 15
5: StackMap locals:
StackMap stack:
aload 1
iconst_3
aaload
astore 3
start local 3 6: aload 0
aload 3
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.validateMethodType:(Ljava/lang/String;)V
7: aload 1
iconst_1
aaload
ldc "Invokers"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 10
8: aload 0
getfield jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.invokerTypes:Ljava/util/Set;
aload 3
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
9: goto 15
StackMap locals: java.lang.String
StackMap stack:
10: aload 1
iconst_1
aaload
ldc "DirectMethodHandle"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 15
11: aload 1
iconst_2
aaload
astore 4
start local 4 12: getstatic jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.DMH_METHOD_TYPE_MAP:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 15
13: aload 0
aload 4
aload 3
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.addDMHMethodType:(Ljava/lang/String;Ljava/lang/String;)V
end local 4 14: goto 15
end local 3 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 16 1 parts [Ljava/lang/String;
6 15 3 methodType Ljava/lang/String;
12 14 4 dmh Ljava/lang/String;
private static jdk.tools.jlink.plugin.ResourcePoolEntry lambda$4(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private static jdk.tools.jlink.plugin.ResourcePoolEntry lambda$5(jdk.tools.jlink.plugin.ResourcePoolEntry);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolEntry;)Ljdk/tools/jlink/plugin/ResourcePoolEntry;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
ldc "/java.base/java/lang/invoke/DirectMethodHandle$Holder.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
ldc "/java.base/java/lang/invoke/DelegatingMethodHandle$Holder.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
2: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
ldc "/java.base/java/lang/invoke/Invokers$Holder.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: aload 0
invokeinterface jdk.tools.jlink.plugin.ResourcePoolEntry.path:()Ljava/lang/String;
ldc "/java.base/java/lang/invoke/LambdaForm$Holder.class"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 5
4: StackMap locals:
StackMap stack:
aconst_null
areturn
5: StackMap locals:
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 entry Ljdk/tools/jlink/plugin/ResourcePoolEntry;
private void lambda$6(jdk.tools.jlink.plugin.ResourcePoolBuilder, java.lang.String);
descriptor: (Ljdk/tools/jlink/plugin/ResourcePoolBuilder;Ljava/lang/String;)V
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 2 0: aload 0
aload 2
aload 1
invokevirtual jdk.tools.jlink.internal.plugins.GenerateJLIClassesPlugin.generateBMHClass:(Ljava/lang/String;Ljdk/tools/jlink/plugin/ResourcePoolBuilder;)V
return
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/tools/jlink/internal/plugins/GenerateJLIClassesPlugin;
0 1 2 types Ljava/lang/String;
}
SourceFile: "GenerateJLIClassesPlugin.java"
InnerClasses:
public final Version = java.lang.Runtime$Version of java.lang.Runtime
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
public final Version = java.lang.module.ModuleDescriptor$Version of java.lang.module.ModuleDescriptor
public abstract Entry = java.util.Map$Entry of java.util.Map
public final State = jdk.tools.jlink.plugin.Plugin$State of jdk.tools.jlink.plugin.Plugin