class picocli.CommandLine$BuiltIn$ISO8601TimeConverter implements picocli.CommandLine$ITypeConverter<java.lang.Object>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: picocli.CommandLine$BuiltIn$ISO8601TimeConverter
super_class: java.lang.Object
{
private final java.lang.reflect.Constructor<?> constructor;
descriptor: Ljava/lang/reflect/Constructor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/reflect/Constructor<*>;
void <init>(java.lang.reflect.Constructor<?>);
descriptor: (Ljava/lang/reflect/Constructor;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ldc "time class constructor"
invokestatic picocli.CommandLine$Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.lang.reflect.Constructor
putfield picocli.CommandLine$BuiltIn$ISO8601TimeConverter.constructor:Ljava/lang/reflect/Constructor;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lpicocli/CommandLine$BuiltIn$ISO8601TimeConverter;
0 3 1 constructor Ljava/lang/reflect/Constructor<*>;
Exceptions:
throws java.lang.NoSuchMethodException
Signature: (Ljava/lang/reflect/Constructor<*>;)V
MethodParameters:
Name Flags
constructor
public java.lang.Object convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.String.length:()I
iconst_5
if_icmpgt 3
1: aload 0
new java.text.SimpleDateFormat
dup
ldc "HH:mm"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokevirtual picocli.CommandLine$BuiltIn$ISO8601TimeConverter.createTime:(J)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
bipush 8
if_icmpgt 6
4: aload 0
new java.text.SimpleDateFormat
dup
ldc "HH:mm:ss"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokevirtual picocli.CommandLine$BuiltIn$ISO8601TimeConverter.createTime:(J)Ljava/lang/Object;
5: areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.length:()I
bipush 12
if_icmpgt 13
7: aload 0
new java.text.SimpleDateFormat
dup
ldc "HH:mm:ss.SSS"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokevirtual picocli.CommandLine$BuiltIn$ISO8601TimeConverter.createTime:(J)Ljava/lang/Object;
8: areturn
9: StackMap locals:
StackMap stack: java.text.ParseException
pop
10: aload 0
new java.text.SimpleDateFormat
dup
ldc "HH:mm:ss,SSS"
invokespecial java.text.SimpleDateFormat.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.text.SimpleDateFormat.parse:(Ljava/lang/String;)Ljava/util/Date;
invokevirtual java.util.Date.getTime:()J
invokevirtual picocli.CommandLine$BuiltIn$ISO8601TimeConverter.createTime:(J)Ljava/lang/Object;
11: areturn
12: StackMap locals:
StackMap stack: java.text.ParseException
pop
13: StackMap locals:
StackMap stack:
new picocli.CommandLine$TypeConversionException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is not a HH:mm[:ss[.SSS]] time"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial picocli.CommandLine$TypeConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lpicocli/CommandLine$BuiltIn$ISO8601TimeConverter;
0 14 1 value Ljava/lang/String;
Exception table:
from to target type
7 8 9 Class java.text.ParseException
0 2 12 Class java.text.ParseException
3 5 12 Class java.text.ParseException
6 8 12 Class java.text.ParseException
9 11 12 Class java.text.ParseException
MethodParameters:
Name Flags
value
private java.lang.Object createTime(long);
descriptor: (J)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield picocli.CommandLine$BuiltIn$ISO8601TimeConverter.constructor:Ljava/lang/reflect/Constructor;
iconst_1
anewarray java.lang.Object
dup
iconst_0
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 3: new picocli.CommandLine$TypeConversionException
dup
new java.lang.StringBuilder
dup
ldc "Unable to create new java.sql.Time with long value "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
lload 1
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial picocli.CommandLine$TypeConversionException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lpicocli/CommandLine$BuiltIn$ISO8601TimeConverter;
0 4 1 epochMillis J
3 4 3 e Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
epochMillis
}
Signature: Ljava/lang/Object;Lpicocli/CommandLine$ITypeConverter<Ljava/lang/Object;>;
SourceFile: "CommandLine.java"
NestHost: picocli.CommandLine
InnerClasses:
private final Assert = picocli.CommandLine$Assert of picocli.CommandLine
private BuiltIn = picocli.CommandLine$BuiltIn of picocli.CommandLine
ISO8601TimeConverter = picocli.CommandLine$BuiltIn$ISO8601TimeConverter of picocli.CommandLine$BuiltIn
public abstract ITypeConverter = picocli.CommandLine$ITypeConverter of picocli.CommandLine
public TypeConversionException = picocli.CommandLine$TypeConversionException of picocli.CommandLine