public class io.vertx.core.cli.converters.Converters
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.vertx.core.cli.converters.Converters
super_class: java.lang.Object
{
private static final java.util.Map<java.lang.Class<?>, java.lang.Class<?>> PRIMITIVE_TO_WRAPPER_TYPE;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
private static final java.util.Map<java.lang.Class<?>, io.vertx.core.cli.converters.Converter<?>> WELL_KNOWN_CONVERTERS;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Lio/vertx/core/cli/converters/Converter<*>;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=0
0: new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
astore 0
start local 0 1: aload 0
getstatic java.lang.Boolean.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Boolean;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
getstatic java.lang.Byte.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Byte;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getstatic java.lang.Character.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Character;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getstatic java.lang.Double.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Double;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getstatic java.lang.Float.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Float;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getstatic java.lang.Integer.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Integer;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
getstatic java.lang.Long.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Long;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getstatic java.lang.Short.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Short;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
9: aload 0
getstatic java.lang.Void.TYPE:Ljava/lang/Class;
ldc Ljava/lang/Void;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
10: aload 0
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic io.vertx.core.cli.converters.Converters.PRIMITIVE_TO_WRAPPER_TYPE:Ljava/util/Map;
11: new java.util.HashMap
dup
bipush 16
invokespecial java.util.HashMap.<init>:(I)V
astore 1
start local 1 12: aload 1
ldc Ljava/lang/Boolean;
getstatic io.vertx.core.cli.converters.BooleanConverter.INSTANCE:Lio/vertx/core/cli/converters/BooleanConverter;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
13: aload 1
ldc Ljava/lang/Byte;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Byte.parseByte(Ljava/lang/String;)B (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
14: aload 1
ldc Ljava/lang/Character;
getstatic io.vertx.core.cli.converters.CharacterConverter.INSTANCE:Lio/vertx/core/cli/converters/CharacterConverter;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
15: aload 1
ldc Ljava/lang/Double;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Double.parseDouble(Ljava/lang/String;)D (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 1
ldc Ljava/lang/Float;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Float.parseFloat(Ljava/lang/String;)F (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
17: aload 1
ldc Ljava/lang/Integer;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Integer.parseInt(Ljava/lang/String;)I (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
18: aload 1
ldc Ljava/lang/Long;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Long.parseLong(Ljava/lang/String;)J (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
19: aload 1
ldc Ljava/lang/Short;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
java/lang/Short.parseShort(Ljava/lang/String;)S (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
20: aload 1
ldc Ljava/lang/String;
invokedynamic fromString()Lio/vertx/core/cli/converters/Converter;
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/String;)Ljava/lang/Object;
io/vertx/core/cli/converters/Converters.lambda$6(Ljava/lang/String;)Ljava/lang/Object; (6)
(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
21: aload 1
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic io.vertx.core.cli.converters.Converters.WELL_KNOWN_CONVERTERS:Ljava/util/Map;
end local 1 end local 0 22: return
LocalVariableTable:
Start End Slot Name Signature
1 22 0 primToWrap Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Class<*>;>;
12 22 1 wellKnown Ljava/util/Map<Ljava/lang/Class<*>;Lio/vertx/core/cli/converters/Converter<*>;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lio/vertx/core/cli/converters/Converters;
public static <T> T create(java.lang.Class<T>, java.lang.String);
descriptor: (Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.Class.isPrimitive:()Z
ifeq 2
1: aload 0
invokestatic io.vertx.core.cli.converters.Converters.wrap:(Ljava/lang/Class;)Ljava/lang/Class;
astore 0
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.vertx.core.cli.converters.Converters.getConverter:(Ljava/lang/Class;)Lio/vertx/core/cli/converters/Converter;
aload 1
invokeinterface io.vertx.core.cli.converters.Converter.fromString:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 type Ljava/lang/Class<TT;>;
0 3 1 value Ljava/lang/String;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
type
value
public static <T> T create(java.lang.String, io.vertx.core.cli.converters.Converter<T>);
descriptor: (Ljava/lang/String;Lio/vertx/core/cli/converters/Converter;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokeinterface io.vertx.core.cli.converters.Converter.fromString:(Ljava/lang/String;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value Ljava/lang/String;
0 1 1 converter Lio/vertx/core/cli/converters/Converter<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/String;Lio/vertx/core/cli/converters/Converter<TT;>;)TT;
MethodParameters:
Name Flags
value
converter
private static <T> java.lang.Class<T> wrap(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic io.vertx.core.cli.converters.Converters.PRIMITIVE_TO_WRAPPER_TYPE:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Class
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
goto 3
StackMap locals: java.lang.Class
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.lang.Class
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 type Ljava/lang/Class<TT;>;
1 4 1 wrapped Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/lang/Class<TT;>;
MethodParameters:
Name Flags
type
private static <T> io.vertx.core.cli.converters.Converter<T> getConverter(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Lio/vertx/core/cli/converters/Converter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic io.vertx.core.cli.converters.Converters.WELL_KNOWN_CONVERTERS:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
ifeq 2
1: getstatic io.vertx.core.cli.converters.Converters.WELL_KNOWN_CONVERTERS:Ljava/util/Map;
aload 0
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.cli.converters.Converter
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic io.vertx.core.cli.converters.ConstructorBasedConverter.getIfEligible:(Ljava/lang/Class;)Lio/vertx/core/cli/converters/ConstructorBasedConverter;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
areturn
5: StackMap locals: io.vertx.core.cli.converters.Converter
StackMap stack:
aload 0
invokestatic io.vertx.core.cli.converters.ValueOfBasedConverter.getIfEligible:(Ljava/lang/Class;)Lio/vertx/core/cli/converters/ValueOfBasedConverter;
astore 1
6: aload 1
ifnull 8
7: aload 1
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokestatic io.vertx.core.cli.converters.FromBasedConverter.getIfEligible:(Ljava/lang/Class;)Lio/vertx/core/cli/converters/FromBasedConverter;
astore 1
9: aload 1
ifnull 11
10: aload 1
areturn
11: StackMap locals:
StackMap stack:
aload 0
invokestatic io.vertx.core.cli.converters.FromStringBasedConverter.getIfEligible:(Ljava/lang/Class;)Lio/vertx/core/cli/converters/FromStringBasedConverter;
astore 1
12: aload 1
ifnull 14
13: aload 1
areturn
14: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
new java.lang.StringBuilder
dup
ldc "Cannot find a converter able to create instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.util.NoSuchElementException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 type Ljava/lang/Class<TT;>;
3 15 1 converter Lio/vertx/core/cli/converters/Converter<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Lio/vertx/core/cli/converters/Converter<TT;>;
MethodParameters:
Name Flags
type
public static <T> io.vertx.core.cli.converters.Converter<T> newInstance(java.lang.Class<? extends io.vertx.core.cli.converters.Converter<T>>);
descriptor: (Ljava/lang/Class;)Lio/vertx/core/cli/converters/Converter;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
checkcast io.vertx.core.cli.converters.Converter
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ReflectiveOperationException
astore 1
start local 1 3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Cannot create a new instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " - it requires an "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "public constructor without argument"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 type Ljava/lang/Class<+Lio/vertx/core/cli/converters/Converter<TT;>;>;
3 6 1 e Ljava/lang/ReflectiveOperationException;
Exception table:
from to target type
0 1 2 Class java.lang.reflect.InvocationTargetException
0 1 2 Class java.lang.NoSuchMethodException
0 1 2 Class java.lang.InstantiationException
0 1 2 Class java.lang.IllegalAccessException
Exceptions:
throws java.lang.IllegalArgumentException
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<+Lio/vertx/core/cli/converters/Converter<TT;>;>;)Lio/vertx/core/cli/converters/Converter<TT;>;
MethodParameters:
Name Flags
type
private static java.lang.Object lambda$6(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
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 value Ljava/lang/String;
}
SourceFile: "Converters.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles