public class com.sun.webkit.graphics.Ref
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.webkit.graphics.Ref
super_class: java.lang.Object
{
private final int id;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield com.sun.webkit.graphics.Ref.count:I
2: aload 0
invokestatic com.sun.webkit.graphics.WCGraphicsManager.getGraphicsManager:()Lcom/sun/webkit/graphics/WCGraphicsManager;
invokevirtual com.sun.webkit.graphics.WCGraphicsManager.createID:()I
putfield com.sun.webkit.graphics.Ref.id:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/webkit/graphics/Ref;
public synchronized void ref();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.graphics.Ref.count:I
ifne 2
1: invokestatic com.sun.webkit.graphics.WCGraphicsManager.getGraphicsManager:()Lcom/sun/webkit/graphics/WCGraphicsManager;
aload 0
invokevirtual com.sun.webkit.graphics.WCGraphicsManager.ref:(Lcom/sun/webkit/graphics/Ref;)V
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.webkit.graphics.Ref.count:I
iconst_1
iadd
putfield com.sun.webkit.graphics.Ref.count:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/webkit/graphics/Ref;
public synchronized void deref();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.graphics.Ref.count:I
ifne 2
1: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "Object "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.webkit.graphics.Ref.id:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
ldc " has no references."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.sun.webkit.graphics.Ref.count:I
iconst_1
isub
putfield com.sun.webkit.graphics.Ref.count:I
3: aload 0
getfield com.sun.webkit.graphics.Ref.count:I
ifne 5
4: invokestatic com.sun.webkit.graphics.WCGraphicsManager.getGraphicsManager:()Lcom/sun/webkit/graphics/WCGraphicsManager;
aload 0
invokevirtual com.sun.webkit.graphics.WCGraphicsManager.deref:(Lcom/sun/webkit/graphics/Ref;)Lcom/sun/webkit/graphics/Ref;
pop
5: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/webkit/graphics/Ref;
public boolean hasRefs();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.graphics.Ref.count:I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/webkit/graphics/Ref;
public int getID();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.webkit.graphics.Ref.id:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/webkit/graphics/Ref;
}
SourceFile: "Ref.java"