public final class io.vertx.core.cli.converters.CharacterConverter implements io.vertx.core.cli.converters.Converter<java.lang.Character>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.cli.converters.CharacterConverter
super_class: java.lang.Object
{
public static final io.vertx.core.cli.converters.CharacterConverter INSTANCE;
descriptor: Lio/vertx/core/cli/converters/CharacterConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new io.vertx.core.cli.converters.CharacterConverter
dup
invokespecial io.vertx.core.cli.converters.CharacterConverter.<init>:()V
putstatic io.vertx.core.cli.converters.CharacterConverter.INSTANCE:Lio/vertx/core/cli/converters/CharacterConverter;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/converters/CharacterConverter;
public java.lang.Character fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Character;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "input must not be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpeq 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "The input string \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\" cannot be converted to a "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: ldc "character. The input's length must be 1"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.toCharArray:()[C
iconst_0
caload
invokestatic java.lang.Character.valueOf:(C)Ljava/lang/Character;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lio/vertx/core/cli/converters/CharacterConverter;
0 7 1 input Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
input
public java.lang.Object fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokevirtual io.vertx.core.cli.converters.CharacterConverter.fromString:(Ljava/lang/String;)Ljava/lang/Character;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/cli/converters/Converter<Ljava/lang/Character;>;
SourceFile: "CharacterConverter.java"