public final class io.netty.util.internal.SystemPropertyUtil
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.netty.util.internal.SystemPropertyUtil
super_class: java.lang.Object
{
private static final io.netty.util.internal.logging.InternalLogger logger;
descriptor: Lio/netty/util/internal/logging/InternalLogger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lio/netty/util/internal/SystemPropertyUtil;
invokestatic io.netty.util.internal.logging.InternalLoggerFactory.getInstance:(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;
putstatic io.netty.util.internal.SystemPropertyUtil.logger:Lio/netty/util/internal/logging/InternalLogger;
return
LocalVariableTable:
Start End Slot Name Signature
public static boolean contains(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public static java.lang.String get(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 key Ljava/lang/String;
MethodParameters:
Name Flags
key
public static java.lang.String get(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "key"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: new java.lang.IllegalArgumentException
dup
ldc "key must not be empty."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 5: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 8
6: aload 0
invokestatic java.lang.System.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 2
7: goto 12
8: StackMap locals: java.lang.String
StackMap stack:
new io.netty.util.internal.SystemPropertyUtil$1
dup
aload 0
invokespecial io.netty.util.internal.SystemPropertyUtil$1.<init>:(Ljava/lang/String;)V
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
astore 2
9: goto 12
StackMap locals:
StackMap stack: java.lang.SecurityException
10: astore 3
start local 3 11: getstatic io.netty.util.internal.SystemPropertyUtil.logger:Lio/netty/util/internal/logging/InternalLogger;
ldc "Unable to retrieve a system property '{}'; default values will be used."
aload 0
aload 3
invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 12: StackMap locals:
StackMap stack:
aload 2
ifnonnull 14
13: aload 1
areturn
14: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 key Ljava/lang/String;
0 15 1 def Ljava/lang/String;
5 15 2 value Ljava/lang/String;
11 12 3 e Ljava/lang/SecurityException;
Exception table:
from to target type
5 9 10 Class java.lang.SecurityException
MethodParameters:
Name Flags
key final
def
public static boolean getBoolean(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokevirtual java.lang.String.toLowerCase:()Ljava/lang/String;
astore 2
4: aload 2
invokevirtual java.lang.String.isEmpty:()Z
ifeq 6
5: iload 1
ireturn
6: StackMap locals:
StackMap stack:
ldc "true"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
ldc "yes"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
ldc "1"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: StackMap locals:
StackMap stack:
iconst_1
ireturn
8: StackMap locals:
StackMap stack:
ldc "false"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
ldc "no"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
ldc "0"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 10
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
10: StackMap locals:
StackMap stack:
getstatic io.netty.util.internal.SystemPropertyUtil.logger:Lio/netty/util/internal/logging/InternalLogger;
11: ldc "Unable to parse the boolean system property '{}':{} - using the default value: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
12: aload 0
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Boolean.valueOf:(Z)Ljava/lang/Boolean;
aastore
13: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
14: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 key Ljava/lang/String;
0 15 1 def Z
1 15 2 value Ljava/lang/String;
MethodParameters:
Name Flags
key
def
public static int getInt(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: iload 1
ireturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 2
4: aload 2
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
5: ireturn
6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: getstatic io.netty.util.internal.SystemPropertyUtil.logger:Lio/netty/util/internal/logging/InternalLogger;
8: ldc "Unable to parse the integer system property '{}':{} - using the default value: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 0
aastore
dup
iconst_1
aload 2
aastore
dup
iconst_2
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
10: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
11: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 key Ljava/lang/String;
0 12 1 def I
1 12 2 value Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
key
def
public static long getLong(java.lang.String, long);
descriptor: (Ljava/lang/String;J)J
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokestatic io.netty.util.internal.SystemPropertyUtil.get:(Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: lload 1
lreturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 3
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 3
4: aload 3
invokestatic java.lang.Long.parseLong:(Ljava/lang/String;)J
5: lreturn
6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: getstatic io.netty.util.internal.SystemPropertyUtil.logger:Lio/netty/util/internal/logging/InternalLogger;
8: ldc "Unable to parse the long integer system property '{}':{} - using the default value: {}"
iconst_3
anewarray java.lang.Object
dup
iconst_0
9: aload 0
aastore
dup
iconst_1
aload 3
aastore
dup
iconst_2
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
10: invokeinterface io.netty.util.internal.logging.InternalLogger.warn:(Ljava/lang/String;[Ljava/lang/Object;)V
11: lload 1
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 key Ljava/lang/String;
0 12 1 def J
1 12 3 value Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
MethodParameters:
Name Flags
key
def
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/netty/util/internal/SystemPropertyUtil;
}
SourceFile: "SystemPropertyUtil.java"
NestMembers:
io.netty.util.internal.SystemPropertyUtil$1
InnerClasses:
io.netty.util.internal.SystemPropertyUtil$1