public final class io.vertx.core.cli.converters.BooleanConverter implements io.vertx.core.cli.converters.Converter<java.lang.Boolean>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.vertx.core.cli.converters.BooleanConverter
super_class: java.lang.Object
{
public static final io.vertx.core.cli.converters.BooleanConverter INSTANCE;
descriptor: Lio/vertx/core/cli/converters/BooleanConverter;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final java.util.List<java.lang.String> TRUE;
descriptor: Ljava/util/List;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new io.vertx.core.cli.converters.BooleanConverter
dup
invokespecial io.vertx.core.cli.converters.BooleanConverter.<init>:()V
putstatic io.vertx.core.cli.converters.BooleanConverter.INSTANCE:Lio/vertx/core/cli/converters/BooleanConverter;
1: iconst_4
anewarray java.lang.String
dup
iconst_0
ldc "true"
aastore
dup
iconst_1
ldc "yes"
aastore
dup
iconst_2
ldc "on"
aastore
dup
iconst_3
ldc "1"
aastore
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
putstatic io.vertx.core.cli.converters.BooleanConverter.TRUE:Ljava/util/List;
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/BooleanConverter;
public java.lang.Boolean fromString(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Boolean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
getstatic io.vertx.core.cli.converters.BooleanConverter.TRUE:Ljava/util/List;
aload 1
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifeq 1
iconst_1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
StackMap locals:
StackMap stack:
1: iconst_0
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/vertx/core/cli/converters/BooleanConverter;
0 2 1 value Ljava/lang/String;
MethodParameters:
Name Flags
value
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.BooleanConverter.fromString:(Ljava/lang/String;)Ljava/lang/Boolean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lio/vertx/core/cli/converters/Converter<Ljava/lang/Boolean;>;
SourceFile: "BooleanConverter.java"