public class picocli.CommandLine$Model$UnmatchedArgsBinding
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: picocli.CommandLine$Model$UnmatchedArgsBinding
super_class: java.lang.Object
{
private final picocli.CommandLine$Model$IGetter getter;
descriptor: Lpicocli/CommandLine$Model$IGetter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final picocli.CommandLine$Model$ISetter setter;
descriptor: Lpicocli/CommandLine$Model$ISetter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private java.lang.Object initialValue;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
private boolean isStringArray;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public static picocli.CommandLine$Model$UnmatchedArgsBinding forStringArrayConsumer(picocli.CommandLine$Model$ISetter);
descriptor: (Lpicocli/CommandLine$Model$ISetter;)Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new picocli.CommandLine$Model$UnmatchedArgsBinding
dup
aconst_null
aload 0
invokespecial picocli.CommandLine$Model$UnmatchedArgsBinding.<init>:(Lpicocli/CommandLine$Model$IGetter;Lpicocli/CommandLine$Model$ISetter;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 setter Lpicocli/CommandLine$Model$ISetter;
MethodParameters:
Name Flags
setter
public static picocli.CommandLine$Model$UnmatchedArgsBinding forStringCollectionSupplier(picocli.CommandLine$Model$IGetter);
descriptor: (Lpicocli/CommandLine$Model$IGetter;)Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new picocli.CommandLine$Model$UnmatchedArgsBinding
dup
aload 0
aconst_null
invokespecial picocli.CommandLine$Model$UnmatchedArgsBinding.<init>:(Lpicocli/CommandLine$Model$IGetter;Lpicocli/CommandLine$Model$ISetter;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 getter Lpicocli/CommandLine$Model$IGetter;
MethodParameters:
Name Flags
getter
private void <init>(picocli.CommandLine$Model$IGetter, picocli.CommandLine$Model$ISetter);
descriptor: (Lpicocli/CommandLine$Model$IGetter;Lpicocli/CommandLine$Model$ISetter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 2
aload 2
ifnonnull 2
new java.lang.IllegalArgumentException
dup
ldc "Getter and setter cannot both be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals: picocli.CommandLine$Model$UnmatchedArgsBinding picocli.CommandLine$Model$IGetter picocli.CommandLine$Model$ISetter
StackMap stack:
aload 0
aload 2
putfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
3: aload 0
aload 1
putfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
4: aload 2
instanceof picocli.CommandLine$Model$IGetter
ifeq 5
aload 2
checkcast picocli.CommandLine$Model$IGetter
goto 6
StackMap locals:
StackMap stack:
5: aload 1
StackMap locals:
StackMap stack: picocli.CommandLine$Model$IGetter
6: astore 3
start local 3 7: aload 0
aload 3
invokeinterface picocli.CommandLine$Model$IGetter.get:()Ljava/lang/Object;
putfield picocli.CommandLine$Model$UnmatchedArgsBinding.initialValue:Ljava/lang/Object;
8: goto 11
StackMap locals: picocli.CommandLine$Model$UnmatchedArgsBinding picocli.CommandLine$Model$IGetter picocli.CommandLine$Model$ISetter picocli.CommandLine$Model$IGetter
StackMap stack: java.lang.Exception
9: pop
10: new picocli.CommandLine$Tracer
dup
invokespecial picocli.CommandLine$Tracer.<init>:()V
ldc "Could not obtain initial value for unmatched from %s%n"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 3
aastore
invokevirtual picocli.CommandLine$Tracer.debug:(Ljava/lang/String;[Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
0 12 1 getter Lpicocli/CommandLine$Model$IGetter;
0 12 2 setter Lpicocli/CommandLine$Model$ISetter;
7 12 3 initialValueHolder Lpicocli/CommandLine$Model$IGetter;
Exception table:
from to target type
7 8 9 Class java.lang.Exception
MethodParameters:
Name Flags
getter
setter
public picocli.CommandLine$Model$IGetter getter();
descriptor: ()Lpicocli/CommandLine$Model$IGetter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
public picocli.CommandLine$Model$ISetter setter();
descriptor: ()Lpicocli/CommandLine$Model$ISetter;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
void addAll(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
ifnull 5
1: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
aload 1
invokeinterface picocli.CommandLine$Model$ISetter.set:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: goto 17
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 2
start local 2 4: new picocli.CommandLine$PicocliException
dup
ldc "Could not invoke setter (%s) with unmatched argument array '%s': %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
aastore
dup
iconst_1
aload 1
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_2
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial picocli.CommandLine$PicocliException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 5: StackMap locals:
StackMap stack:
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
invokeinterface picocli.CommandLine$Model$IGetter.get:()Ljava/lang/Object;
checkcast java.util.Collection
astore 2
start local 2 6: aload 2
ifnonnull 9
7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
8: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
checkcast picocli.CommandLine$Model$ISetter
aload 2
invokeinterface picocli.CommandLine$Model$ISetter.set:(Ljava/lang/Object;)Ljava/lang/Object;
pop
9: StackMap locals: java.util.Collection
StackMap stack:
aload 2
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokeinterface java.util.Collection.addAll:(Ljava/util/Collection;)Z
pop
end local 2 10: goto 17
StackMap locals: picocli.CommandLine$Model$UnmatchedArgsBinding java.lang.String[]
StackMap stack: java.lang.Exception
11: astore 2
start local 2 12: new picocli.CommandLine$PicocliException
dup
ldc "Could not add unmatched argument array '%s' to collection returned by getter (%s): %s"
iconst_3
anewarray java.lang.Object
dup
iconst_0
13: aload 1
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
aastore
dup
iconst_1
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
aastore
dup
iconst_2
aload 2
aastore
14: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
15: aload 2
16: invokespecial picocli.CommandLine$PicocliException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 17: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
0 18 1 unmatched [Ljava/lang/String;
4 5 2 ex Ljava/lang/Exception;
6 10 2 collection Ljava/util/Collection<Ljava/lang/String;>;
12 17 2 ex Ljava/lang/Exception;
Exception table:
from to target type
1 2 3 Class java.lang.Exception
5 10 11 Class java.lang.Exception
MethodParameters:
Name Flags
unmatched
void clear();
descriptor: ()V
flags: (0x0000)
Code:
stack=7, locals=3, args_size=1
start local 0 0: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.setter:Lpicocli/CommandLine$Model$ISetter;
astore 1
start local 1 1: aload 1
ifnonnull 5
2: aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
instanceof picocli.CommandLine$Model$ISetter
ifeq 3
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
checkcast picocli.CommandLine$Model$ISetter
astore 1
goto 5
3: StackMap locals: picocli.CommandLine$Model$ISetter
StackMap stack:
new picocli.CommandLine$Tracer
dup
invokespecial picocli.CommandLine$Tracer.<init>:()V
ldc "Unable to clear %s: it does not implement ISetter"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.getter:Lpicocli/CommandLine$Model$IGetter;
aastore
invokevirtual picocli.CommandLine$Tracer.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
4: return
5: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield picocli.CommandLine$Model$UnmatchedArgsBinding.initialValue:Ljava/lang/Object;
invokeinterface picocli.CommandLine$Model$ISetter.set:(Ljava/lang/Object;)Ljava/lang/Object;
pop
6: goto 9
StackMap locals:
StackMap stack: java.lang.Exception
7: astore 2
start local 2 8: new picocli.CommandLine$PicocliException
dup
ldc "Could not invoke setter (%s) with initial value: %s"
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2
invokespecial picocli.CommandLine$PicocliException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 9: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lpicocli/CommandLine$Model$UnmatchedArgsBinding;
1 10 1 initialValueHolder Lpicocli/CommandLine$Model$ISetter;
8 9 2 ex Ljava/lang/Exception;
Exception table:
from to target type
5 6 7 Class java.lang.Exception
}
SourceFile: "CommandLine.java"
NestHost: picocli.CommandLine
InnerClasses:
public final Model = picocli.CommandLine$Model of picocli.CommandLine
public abstract IGetter = picocli.CommandLine$Model$IGetter of picocli.CommandLine$Model
public abstract ISetter = picocli.CommandLine$Model$ISetter of picocli.CommandLine$Model
public UnmatchedArgsBinding = picocli.CommandLine$Model$UnmatchedArgsBinding of picocli.CommandLine$Model
public PicocliException = picocli.CommandLine$PicocliException of picocli.CommandLine
Tracer = picocli.CommandLine$Tracer of picocli.CommandLine