public class sun.tools.jps.Arguments
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.tools.jps.Arguments
super_class: java.lang.Object
{
private static final boolean debug;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final boolean printStackTrace;
descriptor: Z
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private boolean help;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean quiet;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean longPaths;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean vmArgs;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean vmFlags;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean mainArgs;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private sun.jvmstat.monitor.HostIdentifier hostId;
descriptor: Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc "jps.debug"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic sun.tools.jps.Arguments.debug:Z
1: ldc "jps.printStackTrace"
2: invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putstatic sun.tools.jps.Arguments.printStackTrace:Z
3: return
LocalVariableTable:
Start End Slot Name Signature
public static void printUsage(java.io.PrintStream);
descriptor: (Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "usage: jps [--help]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
1: aload 0
ldc " jps [-q] [-mlvV] [<hostid>]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
2: aload 0
invokevirtual java.io.PrintStream.println:()V
3: aload 0
ldc "Definitions:"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: aload 0
ldc " <hostid>: <hostname>[:<port>]"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: aload 0
ldc " -? -h --help -help: Print this help message and exit."
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 ps Ljava/io/PrintStream;
MethodParameters:
Name Flags
ps
public void <init>(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iconst_0
istore 2
start local 2 2: aload 1
arraylength
iconst_1
if_icmpne 9
3: aload 1
iconst_0
aaload
ldc "-?"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 7
4: aload 1
iconst_0
aaload
ldc "-h"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 7
5: aload 1
iconst_0
aaload
ldc "--help"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifeq 7
6: aload 1
iconst_0
aaload
ldc "-help"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 9
7: StackMap locals: sun.tools.jps.Arguments java.lang.String[] int
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jps.Arguments.help:Z
8: return
9: StackMap locals:
StackMap stack:
iconst_0
istore 2
goto 36
10: StackMap locals:
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 11: aload 3
ldc "-q"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 14
12: aload 0
iconst_1
putfield sun.tools.jps.Arguments.quiet:Z
13: goto 35
StackMap locals: java.lang.String
StackMap stack:
14: aload 3
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 32
15: iconst_1
istore 4
start local 4 16: goto 30
17: StackMap locals: int
StackMap stack:
aload 3
iload 4
invokevirtual java.lang.String.charAt:(I)C
lookupswitch { // 4
86: 24
108: 20
109: 18
118: 22
default: 26
}
18: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jps.Arguments.mainArgs:Z
19: goto 29
20: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jps.Arguments.longPaths:Z
21: goto 29
22: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jps.Arguments.vmArgs:Z
23: goto 29
24: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.tools.jps.Arguments.vmFlags:Z
25: goto 29
26: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal argument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
27: aload 1
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
28: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
29: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
30: iload 4
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 17
end local 4 31: goto 35
32: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "illegal argument: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
33: aload 1
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
34: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 35: StackMap locals:
StackMap stack:
iinc 2 1
36: StackMap locals:
StackMap stack:
iload 2
aload 1
arraylength
if_icmpge 37
aload 1
iload 2
aaload
ldc "-"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 10
37: StackMap locals:
StackMap stack:
aload 1
arraylength
iload 2
isub
tableswitch { // 0 - 1
0: 38
1: 40
default: 42
}
38: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield sun.tools.jps.Arguments.hostname:Ljava/lang/String;
39: goto 43
40: StackMap locals:
StackMap stack:
aload 0
aload 1
aload 1
arraylength
iconst_1
isub
aaload
putfield sun.tools.jps.Arguments.hostname:Ljava/lang/String;
41: goto 43
42: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "invalid argument count"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
43: StackMap locals:
StackMap stack:
aload 0
new sun.jvmstat.monitor.HostIdentifier
dup
aload 0
getfield sun.tools.jps.Arguments.hostname:Ljava/lang/String;
invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Ljava/lang/String;)V
putfield sun.tools.jps.Arguments.hostId:Lsun/jvmstat/monitor/HostIdentifier;
44: goto 52
StackMap locals:
StackMap stack: java.net.URISyntaxException
45: astore 3
start local 3 46: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Malformed Host Identifier: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
47: aload 0
getfield sun.tools.jps.Arguments.hostname:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
48: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
49: astore 4
start local 4 50: aload 4
aload 3
invokevirtual java.lang.IllegalArgumentException.initCause:(Ljava/lang/Throwable;)Ljava/lang/Throwable;
pop
51: aload 4
athrow
end local 4 end local 3 52: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lsun/tools/jps/Arguments;
0 53 1 args [Ljava/lang/String;
2 53 2 argc I
11 35 3 arg Ljava/lang/String;
16 31 4 j I
46 52 3 e Ljava/net/URISyntaxException;
50 52 4 iae Ljava/lang/IllegalArgumentException;
Exception table:
from to target type
43 44 45 Class java.net.URISyntaxException
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
args
public boolean isDebug();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jps.Arguments.debug:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean printStackTrace();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: getstatic sun.tools.jps.Arguments.printStackTrace:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean isHelp();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.help:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean isQuiet();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.quiet:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean showLongPaths();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.longPaths:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean showVmArgs();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.vmArgs:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean showVmFlags();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.vmFlags:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public boolean showMainArgs();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.mainArgs:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public java.lang.String hostname();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.hostname:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
public sun.jvmstat.monitor.HostIdentifier hostId();
descriptor: ()Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.tools.jps.Arguments.hostId:Lsun/jvmstat/monitor/HostIdentifier;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/tools/jps/Arguments;
}
SourceFile: "Arguments.java"