class jdk.incubator.jpackage.internal.BundlerParamInfo<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.jpackage.internal.BundlerParamInfo
super_class: java.lang.Object
{
java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0000)
java.lang.Class<T> valueType;
descriptor: Ljava/lang/Class;
flags: (0x0000)
Signature: Ljava/lang/Class<TT;>;
boolean isDefaultValue;
descriptor: Z
flags: (0x0000)
java.util.function.Function<java.util.Map<java.lang.String, ? super java.lang.Object>, T> defaultValueFunction;
descriptor: Ljava/util/function/Function;
flags: (0x0000)
Signature: Ljava/util/function/Function<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
java.util.function.BiFunction<java.lang.String, java.util.Map<java.lang.String, ? super java.lang.Object>, T> stringConverter;
descriptor: Ljava/util/function/BiFunction;
flags: (0x0000)
Signature: Ljava/util/function/BiFunction<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
java.lang.String getID();
descriptor: ()Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.BundlerParamInfo.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
java.lang.Class<T> getValueType();
descriptor: ()Ljava/lang/Class;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.BundlerParamInfo.valueType:Ljava/lang/Class;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
Signature: ()Ljava/lang/Class<TT;>;
boolean getIsDefaultValue();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.BundlerParamInfo.isDefaultValue:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
java.util.function.Function<java.util.Map<java.lang.String, ? super java.lang.Object>, T> getDefaultValueFunction();
descriptor: ()Ljava/util/function/Function;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.BundlerParamInfo.defaultValueFunction:Ljava/util/function/Function;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
Signature: ()Ljava/util/function/Function<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
java.util.function.BiFunction<java.lang.String, java.util.Map<java.lang.String, ? super java.lang.Object>, T> getStringConverter();
descriptor: ()Ljava/util/function/BiFunction;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.BundlerParamInfo.stringConverter:Ljava/util/function/BiFunction;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
Signature: ()Ljava/util/function/BiFunction<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
final T fetchFrom(java.util.Map<java.lang.String, ? super java.lang.Object>);
descriptor: (Ljava/util/Map;)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_1
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.fetchFrom:(Ljava/util/Map;Z)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
0 1 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;)TT;
MethodParameters:
Name Flags
params
final T fetchFrom(java.util.Map<java.lang.String, ? super java.lang.Object>, );
descriptor: (Ljava/util/Map;Z)Ljava/lang/Object;
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
instanceof java.lang.String
ifeq 3
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getStringConverter:()Ljava/util/function/BiFunction;
ifnull 3
2: aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getStringConverter:()Ljava/util/function/BiFunction;
aload 3
checkcast java.lang.String
aload 1
invokeinterface java.util.function.BiFunction.apply:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals: java.lang.Object
StackMap stack:
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getValueType:()Ljava/lang/Class;
astore 4
start local 4 4: aload 4
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifeq 6
5: aload 3
areturn
6: StackMap locals: java.lang.Class
StackMap stack:
aload 3
ifnull 11
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Param "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " should be of type "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getValueType:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: ldc " but is a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 1
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
iload 2
ifeq 19
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getDefaultValueFunction:()Ljava/util/function/Function;
ifnull 19
14: aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getDefaultValueFunction:()Ljava/util/function/Function;
aload 1
invokeinterface java.util.function.Function.apply:(Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 15: aload 5
ifnull 18
16: aload 1
aload 0
invokevirtual jdk.incubator.jpackage.internal.BundlerParamInfo.getID:()Ljava/lang/String;
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 0
iconst_1
putfield jdk.incubator.jpackage.internal.BundlerParamInfo.isDefaultValue:Z
18: StackMap locals: java.lang.Object
StackMap stack:
aload 5
areturn
end local 5 19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
0 20 1 params Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;
0 20 2 invokeDefault Z
1 20 3 o Ljava/lang/Object;
4 20 4 klass Ljava/lang/Class<TT;>;
15 19 5 result TT;
Signature: (Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;Z)TT;
MethodParameters:
Name Flags
params
invokeDefault
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "BundlerParamInfo.java"