class picocli.CommandLine$DefaultFactory implements picocli.CommandLine$IFactory
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: picocli.CommandLine$DefaultFactory
super_class: java.lang.Object
{
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
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$DefaultFactory;
public <T> T create(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.lang.Class.isInterface:()Z
ifeq 10
ldc Ljava/util/Collection;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 10
1: ldc Ljava/util/List;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 3
2: aload 1
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
ldc Ljava/util/SortedSet;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
4: aload 1
new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
5: StackMap locals:
StackMap stack:
ldc Ljava/util/Set;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 7
6: aload 1
new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
7: StackMap locals:
StackMap stack:
ldc Ljava/util/Queue;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 9
8: aload 1
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
9: StackMap locals:
StackMap stack:
aload 1
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
10: StackMap locals:
StackMap stack:
ldc Ljava/util/Map;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 15
11: aload 1
aload 1
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;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
12: areturn
13: StackMap locals:
StackMap stack: java.lang.Exception
pop
14: aload 1
new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
15: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
astore 2
start local 2 16: aload 2
17: areturn
end local 2 18: StackMap locals:
StackMap stack: java.lang.Exception
pop
19: aload 1
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
astore 2
start local 2 20: aload 2
iconst_1
invokevirtual java.lang.reflect.Constructor.setAccessible:(Z)V
21: aload 2
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lpicocli/CommandLine$DefaultFactory;
0 22 1 cls Ljava/lang/Class<TT;>;
16 18 2 result TT;
20 22 2 constructor Ljava/lang/reflect/Constructor<TT;>;
Exception table:
from to target type
11 12 13 Class java.lang.Exception
15 17 18 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
cls
private static picocli.CommandLine$ITypeConverter<?>[] createConverter(picocli.CommandLine$IFactory, java.lang.Class<? extends picocli.CommandLine$ITypeConverter<?>>[]);
descriptor: (Lpicocli/CommandLine$IFactory;[Ljava/lang/Class;)[Lpicocli/CommandLine$ITypeConverter;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 1
arraylength
anewarray picocli.CommandLine$ITypeConverter
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 4
StackMap locals: picocli.CommandLine$ITypeConverter[] int
StackMap stack:
3: aload 2
iload 3
aload 0
aload 1
iload 3
aaload
invokestatic picocli.CommandLine$DefaultFactory.create:(Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
checkcast picocli.CommandLine$ITypeConverter
aastore
iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
aload 1
arraylength
if_icmplt 3
end local 3 5: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 factory Lpicocli/CommandLine$IFactory;
0 6 1 classes [Ljava/lang/Class;
1 6 2 result [Lpicocli/CommandLine$ITypeConverter;
2 5 3 i I
Signature: (Lpicocli/CommandLine$IFactory;[Ljava/lang/Class<+Lpicocli/CommandLine$ITypeConverter<*>;>;)[Lpicocli/CommandLine$ITypeConverter<*>;
MethodParameters:
Name Flags
factory
classes
static picocli.CommandLine$IVersionProvider createVersionProvider(picocli.CommandLine$IFactory, java.lang.Class<? extends picocli.CommandLine$IVersionProvider>);
descriptor: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Lpicocli/CommandLine$IVersionProvider;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic picocli.CommandLine$DefaultFactory.create:(Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
checkcast picocli.CommandLine$IVersionProvider
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Lpicocli/CommandLine$IFactory;
0 1 1 cls Ljava/lang/Class<+Lpicocli/CommandLine$IVersionProvider;>;
Signature: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class<+Lpicocli/CommandLine$IVersionProvider;>;)Lpicocli/CommandLine$IVersionProvider;
MethodParameters:
Name Flags
factory
cls
static picocli.CommandLine$IDefaultValueProvider createDefaultValueProvider(picocli.CommandLine$IFactory, java.lang.Class<? extends picocli.CommandLine$IDefaultValueProvider>);
descriptor: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Lpicocli/CommandLine$IDefaultValueProvider;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic picocli.CommandLine$DefaultFactory.create:(Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
checkcast picocli.CommandLine$IDefaultValueProvider
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Lpicocli/CommandLine$IFactory;
0 1 1 cls Ljava/lang/Class<+Lpicocli/CommandLine$IDefaultValueProvider;>;
Signature: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class<+Lpicocli/CommandLine$IDefaultValueProvider;>;)Lpicocli/CommandLine$IDefaultValueProvider;
MethodParameters:
Name Flags
factory
cls
static java.lang.Iterable<java.lang.String> createCompletionCandidates(picocli.CommandLine$IFactory, java.lang.Class<? extends java.lang.Iterable<java.lang.String>>);
descriptor: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Iterable;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic picocli.CommandLine$DefaultFactory.create:(Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
checkcast java.lang.Iterable
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Lpicocli/CommandLine$IFactory;
0 1 1 cls Ljava/lang/Class<+Ljava/lang/Iterable<Ljava/lang/String;>;>;
Signature: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class<+Ljava/lang/Iterable<Ljava/lang/String;>;>;)Ljava/lang/Iterable<Ljava/lang/String;>;
MethodParameters:
Name Flags
factory
cls
static picocli.CommandLine$IParameterConsumer createParameterConsumer(picocli.CommandLine$IFactory, java.lang.Class<? extends picocli.CommandLine$IParameterConsumer>);
descriptor: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Lpicocli/CommandLine$IParameterConsumer;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic picocli.CommandLine$DefaultFactory.create:(Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
checkcast picocli.CommandLine$IParameterConsumer
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 factory Lpicocli/CommandLine$IFactory;
0 1 1 cls Ljava/lang/Class<+Lpicocli/CommandLine$IParameterConsumer;>;
Signature: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class<+Lpicocli/CommandLine$IParameterConsumer;>;)Lpicocli/CommandLine$IParameterConsumer;
MethodParameters:
Name Flags
factory
cls
static <T> T create(picocli.CommandLine$IFactory, java.lang.Class<T>);
descriptor: (Lpicocli/CommandLine$IFactory;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface picocli.CommandLine$IFactory.create:(Ljava/lang/Class;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
astore 2
start local 2 3: new picocli.CommandLine$InitializationException
dup
new java.lang.StringBuilder
dup
ldc "Cannot instantiate "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 1
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": the class has no constructor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial picocli.CommandLine$InitializationException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 5: StackMap locals:
StackMap stack: picocli.CommandLine$InitializationException
astore 2
start local 2 6: aload 2
athrow
end local 2 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 2
start local 2 8: new picocli.CommandLine$InitializationException
dup
new java.lang.StringBuilder
dup
ldc "Could not instantiate "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial picocli.CommandLine$InitializationException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 factory Lpicocli/CommandLine$IFactory;
0 9 1 cls Ljava/lang/Class<TT;>;
3 5 2 ex Ljava/lang/NoSuchMethodException;
6 7 2 ex Lpicocli/CommandLine$InitializationException;
8 9 2 ex Ljava/lang/Exception;
Exception table:
from to target type
0 1 2 Class java.lang.NoSuchMethodException
0 1 5 Class picocli.CommandLine$InitializationException
0 1 7 Class java.lang.Exception
Signature: <T:Ljava/lang/Object;>(Lpicocli/CommandLine$IFactory;Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
factory
cls
}
SourceFile: "CommandLine.java"
NestHost: picocli.CommandLine
InnerClasses:
private DefaultFactory = picocli.CommandLine$DefaultFactory of picocli.CommandLine
public abstract IDefaultValueProvider = picocli.CommandLine$IDefaultValueProvider of picocli.CommandLine
public abstract IFactory = picocli.CommandLine$IFactory of picocli.CommandLine
public abstract IParameterConsumer = picocli.CommandLine$IParameterConsumer of picocli.CommandLine
public abstract ITypeConverter = picocli.CommandLine$ITypeConverter of picocli.CommandLine
public abstract IVersionProvider = picocli.CommandLine$IVersionProvider of picocli.CommandLine
public InitializationException = picocli.CommandLine$InitializationException of picocli.CommandLine