class jdk.incubator.jpackage.internal.EnumeratedBundlerParam<T> extends jdk.incubator.jpackage.internal.BundlerParamInfo<T>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: jdk.incubator.jpackage.internal.EnumeratedBundlerParam
super_class: jdk.incubator.jpackage.internal.BundlerParamInfo
{
private final java.util.Map<java.lang.String, T> elements;
descriptor: Ljava/util/Map;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;TT;>;
private final boolean strict;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, java.lang.Class<T>, java.util.function.Function<java.util.Map<java.lang.String, ? super java.lang.Object>, T>, java.util.function.BiFunction<java.lang.String, java.util.Map<java.lang.String, ? super java.lang.Object>, T>, java.util.Map<java.lang.String, T>, );
descriptor: (Ljava/lang/String;Ljava/lang/Class;Ljava/util/function/Function;Ljava/util/function/BiFunction;Ljava/util/Map;Z)V
flags: (0x0000)
Code:
stack=2, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
invokespecial jdk.incubator.jpackage.internal.BundlerParamInfo.<init>:()V
1: aload 0
aload 1
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.id:Ljava/lang/String;
2: aload 0
aload 2
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.valueType:Ljava/lang/Class;
3: aload 0
aload 3
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.defaultValueFunction:Ljava/util/function/Function;
4: aload 0
aload 4
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.stringConverter:Ljava/util/function/BiFunction;
5: aload 0
aload 5
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.elements:Ljava/util/Map;
6: aload 0
iload 6
putfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.strict:Z
7: return
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 8 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
0 8 1 id Ljava/lang/String;
0 8 2 valueType Ljava/lang/Class<TT;>;
0 8 3 defaultValueFunction Ljava/util/function/Function<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
0 8 4 stringConverter Ljava/util/function/BiFunction<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;
0 8 5 elements Ljava/util/Map<Ljava/lang/String;TT;>;
0 8 6 strict Z
Signature: (Ljava/lang/String;Ljava/lang/Class<TT;>;Ljava/util/function/Function<Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;Ljava/util/function/BiFunction<Ljava/lang/String;Ljava/util/Map<Ljava/lang/String;-Ljava/lang/Object;>;TT;>;Ljava/util/Map<Ljava/lang/String;TT;>;Z)V
MethodParameters:
Name Flags
id
valueType
defaultValueFunction
stringConverter
elements
strict
boolean isInPossibleValues();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.elements:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
aload 1
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
0 1 1 value TT;
Signature: (TT;)Z
MethodParameters:
Name Flags
value
java.util.Set<java.lang.String> getDisplayableKeys();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.elements:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokestatic java.util.Collections.unmodifiableSet:(Ljava/util/Set;)Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
T getValueForDisplayableKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.elements:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
0 1 1 displayableKey Ljava/lang/String;
Signature: (Ljava/lang/String;)TT;
MethodParameters:
Name Flags
displayableKey
boolean isStrict();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield jdk.incubator.jpackage.internal.EnumeratedBundlerParam.strict:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
boolean isLoose();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual jdk.incubator.jpackage.internal.EnumeratedBundlerParam.isStrict:()Z
ifeq 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: iconst_1
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljdk/incubator/jpackage/internal/EnumeratedBundlerParam<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljdk/incubator/jpackage/internal/BundlerParamInfo<TT;>;
SourceFile: "EnumeratedBundlerParam.java"