public class com.sun.tools.attach.VirtualMachineDescriptor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.attach.VirtualMachineDescriptor
super_class: java.lang.Object
{
private com.sun.tools.attach.spi.AttachProvider provider;
descriptor: Lcom/sun/tools/attach/spi/AttachProvider;
flags: (0x0002) ACC_PRIVATE
private java.lang.String id;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String displayName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private volatile int hash;
descriptor: I
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
public void <init>(com.sun.tools.attach.spi.AttachProvider, java.lang.String, java.lang.String);
descriptor: (Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ifnonnull 3
2: new java.lang.NullPointerException
dup
ldc "provider cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.tools.attach.VirtualMachineDescriptor com.sun.tools.attach.spi.AttachProvider java.lang.String java.lang.String
StackMap stack:
aload 2
ifnonnull 5
4: new java.lang.NullPointerException
dup
ldc "identifier cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 3
ifnonnull 7
6: new java.lang.NullPointerException
dup
ldc "display name cannot be null"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.tools.attach.VirtualMachineDescriptor.provider:Lcom/sun/tools/attach/spi/AttachProvider;
8: aload 0
aload 2
putfield com.sun.tools.attach.VirtualMachineDescriptor.id:Ljava/lang/String;
9: aload 0
aload 3
putfield com.sun.tools.attach.VirtualMachineDescriptor.displayName:Ljava/lang/String;
10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
0 11 1 provider Lcom/sun/tools/attach/spi/AttachProvider;
0 11 2 id Ljava/lang/String;
0 11 3 displayName Ljava/lang/String;
MethodParameters:
Name Flags
provider
id
displayName
public void <init>(com.sun.tools.attach.spi.AttachProvider, java.lang.String);
descriptor: (Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aload 2
invokespecial com.sun.tools.attach.VirtualMachineDescriptor.<init>:(Lcom/sun/tools/attach/spi/AttachProvider;Ljava/lang/String;Ljava/lang/String;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
0 2 1 provider Lcom/sun/tools/attach/spi/AttachProvider;
0 2 2 id Ljava/lang/String;
MethodParameters:
Name Flags
provider
id
public com.sun.tools.attach.spi.AttachProvider provider();
descriptor: ()Lcom/sun/tools/attach/spi/AttachProvider;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.provider:Lcom/sun/tools/attach/spi/AttachProvider;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
public java.lang.String id();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.id:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
public java.lang.String displayName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.displayName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.hash:I
ifeq 2
1: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.hash:I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.provider:Lcom/sun/tools/attach/spi/AttachProvider;
invokevirtual java.lang.Object.hashCode:()I
bipush 127
imul
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.id:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
putfield com.sun.tools.attach.VirtualMachineDescriptor.hash:I
3: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.hash:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, 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 com.sun.tools.attach.VirtualMachineDescriptor
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.sun.tools.attach.VirtualMachineDescriptor
astore 2
start local 2 5: aload 2
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.provider:()Lcom/sun/tools/attach/spi/AttachProvider;
aload 0
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.provider:()Lcom/sun/tools/attach/spi/AttachProvider;
if_acmpeq 7
6: iconst_0
ireturn
7: StackMap locals: com.sun.tools.attach.VirtualMachineDescriptor
StackMap stack:
aload 2
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
aload 0
invokevirtual com.sun.tools.attach.VirtualMachineDescriptor.id:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
0 10 1 ob Ljava/lang/Object;
5 10 2 other Lcom/sun/tools/attach/VirtualMachineDescriptor;
MethodParameters:
Name Flags
ob
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.provider:Lcom/sun/tools/attach/spi/AttachProvider;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.id:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.displayName:Ljava/lang/String;
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.id:Ljava/lang/String;
if_acmpeq 3
2: new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.sun.tools.attach.VirtualMachineDescriptor.displayName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
3: StackMap locals: java.lang.String
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/tools/attach/VirtualMachineDescriptor;
1 4 1 s Ljava/lang/String;
}
SourceFile: "VirtualMachineDescriptor.java"