class sun.applet.AppletImageRef
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.applet.AppletImageRef
super_class: java.lang.Object
{
private java.lang.ref.SoftReference<java.awt.Image> soft;
descriptor: Ljava/lang/ref/SoftReference;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/ref/SoftReference<Ljava/awt/Image;>;
java.net.URL url;
descriptor: Ljava/net/URL;
flags: (0x0000)
public synchronized java.awt.Image get();
descriptor: ()Ljava/awt/Image;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual sun.applet.AppletImageRef.check:()Ljava/awt/Image;
astore 1
start local 1 1: aload 1
ifnonnull 4
2: aload 0
invokevirtual sun.applet.AppletImageRef.reconstitute:()Ljava/awt/Image;
astore 1
3: aload 0
aload 1
invokevirtual sun.applet.AppletImageRef.setThing:(Ljava/awt/Image;)V
4: StackMap locals: java.awt.Image
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/applet/AppletImageRef;
1 5 1 t Ljava/awt/Image;
void <init>(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0000)
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
aconst_null
putfield sun.applet.AppletImageRef.soft:Ljava/lang/ref/SoftReference;
2: aload 0
aload 1
putfield sun.applet.AppletImageRef.url:Ljava/net/URL;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/applet/AppletImageRef;
0 4 1 url Ljava/net/URL;
MethodParameters:
Name Flags
url
public synchronized void flush();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletImageRef.soft:Ljava/lang/ref/SoftReference;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokevirtual java.lang.ref.SoftReference.clear:()V
2: StackMap locals: java.lang.ref.SoftReference
StackMap stack:
aload 0
aconst_null
putfield sun.applet.AppletImageRef.soft:Ljava/lang/ref/SoftReference;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/applet/AppletImageRef;
1 4 1 s Ljava/lang/ref/SoftReference<Ljava/awt/Image;>;
public synchronized void setThing(java.awt.Image);
descriptor: (Ljava/awt/Image;)V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.applet.AppletImageRef.flush:()V
1: aload 0
new java.lang.ref.SoftReference
dup
aload 1
invokespecial java.lang.ref.SoftReference.<init>:(Ljava/lang/Object;)V
putfield sun.applet.AppletImageRef.soft:Ljava/lang/ref/SoftReference;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/applet/AppletImageRef;
0 3 1 thing Ljava/awt/Image;
MethodParameters:
Name Flags
thing
public synchronized java.awt.Image check();
descriptor: ()Ljava/awt/Image;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.applet.AppletImageRef.soft:Ljava/lang/ref/SoftReference;
astore 1
start local 1 1: aload 1
ifnonnull 2
aconst_null
areturn
2: StackMap locals: java.lang.ref.SoftReference
StackMap stack:
aload 1
invokevirtual java.lang.ref.SoftReference.get:()Ljava/lang/Object;
checkcast java.awt.Image
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/applet/AppletImageRef;
1 3 1 s Ljava/lang/ref/SoftReference<Ljava/awt/Image;>;
public java.awt.Image reconstitute();
descriptor: ()Ljava/awt/Image;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
new sun.awt.image.URLImageSource
dup
aload 0
getfield sun.applet.AppletImageRef.url:Ljava/net/URL;
invokespecial sun.awt.image.URLImageSource.<init>:(Ljava/net/URL;)V
invokevirtual java.awt.Toolkit.createImage:(Ljava/awt/image/ImageProducer;)Ljava/awt/Image;
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/applet/AppletImageRef;
1 2 1 img Ljava/awt/Image;
}
SourceFile: "AppletImageRef.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")