public class sun.jvmstat.monitor.VmIdentifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.jvmstat.monitor.VmIdentifier
super_class: java.lang.Object
{
private java.net.URI uri;
descriptor: Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
private java.net.URI canonicalize(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/net/URI;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: ldc "local://0@localhost"
astore 1
2: new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
areturn
3: StackMap locals:
StackMap stack:
new java.net.URI
dup
aload 1
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 2
start local 2 4: aload 2
invokevirtual java.net.URI.isAbsolute:()Z
ifeq 10
5: aload 2
invokevirtual java.net.URI.isOpaque:()Z
ifeq 17
6: new java.net.URI
dup
aload 2
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: aload 2
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
8: invokespecial java.net.URI.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
astore 2
9: goto 17
10: StackMap locals: java.net.URI
StackMap stack:
aload 1
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 17
11: aload 2
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
ifnonnull 14
12: new java.net.URI
dup
new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 2
13: goto 17
14: StackMap locals:
StackMap stack:
new java.net.URI
dup
new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "#"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
15: aload 2
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
astore 2
17: StackMap locals:
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lsun/jvmstat/monitor/VmIdentifier;
0 18 1 uriString Ljava/lang/String;
4 18 2 u Ljava/net/URI;
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
uriString
private void validate();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getScheme:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 3
aload 1
ldc "file"
invokevirtual java.lang.String.compareTo:(Ljava/lang/String;)I
ifne 3
2: return
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getLocalVmId:()I
iconst_m1
if_icmpne 5
4: new java.net.URISyntaxException
dup
aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
ldc "Local vmid required"
invokespecial java.net.URISyntaxException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/jvmstat/monitor/VmIdentifier;
1 6 1 s Ljava/lang/String;
Exceptions:
throws java.net.URISyntaxException
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokevirtual sun.jvmstat.monitor.VmIdentifier.canonicalize:(Ljava/lang/String;)Ljava/net/URI;
astore 2
start local 2 2: goto 7
end local 2 StackMap locals: sun.jvmstat.monitor.VmIdentifier java.lang.String
StackMap stack: java.net.URISyntaxException
3: astore 3
start local 3 4: aload 1
ldc "//"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 6
5: aload 3
athrow
6: StackMap locals: sun.jvmstat.monitor.VmIdentifier java.lang.String top java.net.URISyntaxException
StackMap stack:
aload 0
new java.lang.StringBuilder
dup
ldc "//"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual sun.jvmstat.monitor.VmIdentifier.canonicalize:(Ljava/lang/String;)Ljava/net/URI;
astore 2
end local 3 start local 2 7: StackMap locals: sun.jvmstat.monitor.VmIdentifier java.lang.String java.net.URI
StackMap stack:
aload 0
aload 2
putfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
8: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.validate:()V
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lsun/jvmstat/monitor/VmIdentifier;
0 10 1 uriString Ljava/lang/String;
2 3 2 u Ljava/net/URI;
7 10 2 u Ljava/net/URI;
4 7 3 e Ljava/net/URISyntaxException;
Exception table:
from to target type
1 2 3 Class java.net.URISyntaxException
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
uriString
public void <init>(java.net.URI);
descriptor: (Ljava/net/URI;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
2: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.validate:()V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/jvmstat/monitor/VmIdentifier;
0 4 1 uri Ljava/net/URI;
Exceptions:
throws java.net.URISyntaxException
MethodParameters:
Name Flags
uri
public sun.jvmstat.monitor.HostIdentifier getHostIdentifier();
descriptor: ()Lsun/jvmstat/monitor/HostIdentifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getScheme:()Ljava/lang/String;
ifnull 3
2: aload 1
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getScheme:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
ldc "//"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getHost:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getPort:()I
iconst_m1
if_icmpeq 6
5: aload 1
ldc ":"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getPort:()I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getPath:()Ljava/lang/String;
ifnull 8
7: aload 1
aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getPath:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
new sun.jvmstat.monitor.HostIdentifier
dup
aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial sun.jvmstat.monitor.HostIdentifier.<init>:(Ljava/lang/String;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/jvmstat/monitor/VmIdentifier;
1 9 1 sb Ljava/lang/StringBuilder;
Exceptions:
throws java.net.URISyntaxException
public java.lang.String getScheme();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getSchemeSpecificPart();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getUserInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getUserInfo:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getHost();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getHost:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public int getPort();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getPort:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getAuthority();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getPath:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getQuery();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getQuery:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public java.lang.String getFragment();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getFragment:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public int getLocalVmId();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: iconst_m1
istore 1
start local 1 1: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getUserInfo:()Ljava/lang/String;
ifnonnull 4
2: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getAuthority:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
3: goto 7
4: StackMap locals: int
StackMap stack:
aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.getUserInfo:()Ljava/lang/String;
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
5: goto 7
StackMap locals:
StackMap stack: java.lang.NumberFormatException
6: pop
7: StackMap locals:
StackMap stack:
iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/jvmstat/monitor/VmIdentifier;
1 8 1 result I
Exception table:
from to target type
1 5 6 Class java.lang.NumberFormatException
public java.lang.String getMode();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual sun.jvmstat.monitor.VmIdentifier.getQuery:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
ifnull 10
2: aload 1
ldc "\\+"
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 9
5: StackMap locals: java.lang.String java.lang.String[] int
StackMap stack:
aload 2
iload 3
aaload
ldc "mode="
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 8
6: aload 2
iload 3
aaload
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 7: aload 2
iload 3
aaload
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
areturn
end local 4 8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 end local 2 10: StackMap locals:
StackMap stack:
ldc "r"
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/jvmstat/monitor/VmIdentifier;
1 11 1 query Ljava/lang/String;
3 10 2 queryArgs [Ljava/lang/String;
4 10 3 i I
7 8 4 index I
public java.net.URI getURI();
descriptor: ()Ljava/net/URI;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof sun.jvmstat.monitor.VmIdentifier
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
aload 1
checkcast sun.jvmstat.monitor.VmIdentifier
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/jvmstat/monitor/VmIdentifier;
0 5 1 object Ljava/lang/Object;
MethodParameters:
Name Flags
object
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.jvmstat.monitor.VmIdentifier.uri:Ljava/net/URI;
invokevirtual java.net.URI.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/jvmstat/monitor/VmIdentifier;
}
SourceFile: "VmIdentifier.java"