class picocli.CommandLine$BuiltIn$NetworkInterfaceConverter implements picocli.CommandLine$ITypeConverter<java.net.NetworkInterface>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: picocli.CommandLine$BuiltIn$NetworkInterfaceConverter
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // picocli.CommandLine$BuiltIn$NetworkInterfaceConverter this
0: .line 12775
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // picocli.CommandLine$BuiltIn$NetworkInterfaceConverter this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lpicocli/CommandLine$BuiltIn$NetworkInterfaceConverter;
public java.net.NetworkInterface convert(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/NetworkInterface;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 // picocli.CommandLine$BuiltIn$NetworkInterfaceConverter this
start local 1 // java.lang.String s
0: .line 12778
new picocli.CommandLine$BuiltIn$InetAddressConverter
dup
invokespecial picocli.CommandLine$BuiltIn$InetAddressConverter.<init>:()V
aload 1 /* s */
invokevirtual picocli.CommandLine$BuiltIn$InetAddressConverter.convert:(Ljava/lang/String;)Ljava/net/InetAddress;
astore 2 /* addr */
start local 2 // java.net.InetAddress addr
1: .line 12779
aload 2 /* addr */
invokestatic java.net.NetworkInterface.getByInetAddress:(Ljava/net/InetAddress;)Ljava/net/NetworkInterface;
2: areturn
end local 2 // java.net.InetAddress addr
3: .line 12780
StackMap locals:
StackMap stack: java.lang.Exception
pop
4: .line 12781
aload 1 /* s */
invokestatic java.net.NetworkInterface.getByName:(Ljava/lang/String;)Ljava/net/NetworkInterface;
5: areturn
6: .line 12782
StackMap locals:
StackMap stack: java.lang.Exception
pop
7: .line 12783
new picocli.CommandLine$TypeConversionException
dup
new java.lang.StringBuilder
dup
ldc "'"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* s */
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is not an InetAddress or NetworkInterface name"
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 // java.lang.String s
end local 0 // picocli.CommandLine$BuiltIn$NetworkInterfaceConverter this
LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lpicocli/CommandLine$BuiltIn$NetworkInterfaceConverter;
0 8 1 s Ljava/lang/String;
1 3 2 addr Ljava/net/InetAddress;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
4 5 6 Class java.lang.Exception
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
s
public java.lang.Object convert(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: .line 1
aload 0
aload 1
invokevirtual picocli.CommandLine$BuiltIn$NetworkInterfaceConverter.convert:(Ljava/lang/String;)Ljava/net/NetworkInterface;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.Exception
}
Signature: Ljava/lang/Object;Lpicocli/CommandLine$ITypeConverter<Ljava/net/NetworkInterface;>;
SourceFile: "CommandLine.java"
NestHost: picocli.CommandLine
InnerClasses:
private BuiltIn = picocli.CommandLine$BuiltIn of picocli.CommandLine
InetAddressConverter = picocli.CommandLine$BuiltIn$InetAddressConverter of picocli.CommandLine$BuiltIn
NetworkInterfaceConverter = picocli.CommandLine$BuiltIn$NetworkInterfaceConverter of picocli.CommandLine$BuiltIn
public abstract ITypeConverter = picocli.CommandLine$ITypeConverter of picocli.CommandLine
public TypeConversionException = picocli.CommandLine$TypeConversionException of picocli.CommandLine