public class java.lang.ref.SoftReference<T> extends java.lang.ref.Reference<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.lang.ref.SoftReference
super_class: java.lang.ref.Reference
{
private static long clock;
descriptor: J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private long timestamp;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial java.lang.ref.Reference.<init>:(Ljava/lang/Object;)V
1: aload 0
getstatic java.lang.ref.SoftReference.clock:J
putfield java.lang.ref.SoftReference.timestamp:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/ref/SoftReference<TT;>;
0 3 1 referent TT;
Signature: (TT;)V
MethodParameters:
Name Flags
referent
public void <init>(T, java.lang.ref.ReferenceQueue<? super T>);
descriptor: (Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial java.lang.ref.Reference.<init>:(Ljava/lang/Object;Ljava/lang/ref/ReferenceQueue;)V
1: aload 0
getstatic java.lang.ref.SoftReference.clock:J
putfield java.lang.ref.SoftReference.timestamp:J
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/lang/ref/SoftReference<TT;>;
0 3 1 referent TT;
0 3 2 q Ljava/lang/ref/ReferenceQueue<-TT;>;
Signature: (TT;Ljava/lang/ref/ReferenceQueue<-TT;>;)V
MethodParameters:
Name Flags
referent
q
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.ref.Reference.get:()Ljava/lang/Object;
astore 1
start local 1 1: aload 1
ifnull 3
aload 0
getfield java.lang.ref.SoftReference.timestamp:J
getstatic java.lang.ref.SoftReference.clock:J
lcmp
ifeq 3
2: aload 0
getstatic java.lang.ref.SoftReference.clock:J
putfield java.lang.ref.SoftReference.timestamp:J
3: StackMap locals: java.lang.Object
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/lang/ref/SoftReference<TT;>;
1 4 1 o TT;
Signature: ()TT;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/ref/Reference<TT;>;
SourceFile: "SoftReference.java"