class com.google.common.base.Suppliers$ExpiringMemoizingSupplier<T> implements com.google.common.base.Supplier<T>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.base.Suppliers$ExpiringMemoizingSupplier
super_class: java.lang.Object
{
final com.google.common.base.Supplier<T> delegate;
descriptor: Lcom/google/common/base/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/base/Supplier<TT;>;
final long durationNanos;
descriptor: J
flags: (0x0010) ACC_FINAL
volatile transient T value;
descriptor: Ljava/lang/Object;
flags: (0x00c0) ACC_VOLATILE, ACC_TRANSIENT
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
volatile transient long expirationNanos;
descriptor: J
flags: (0x00c0) ACC_VOLATILE, ACC_TRANSIENT
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(com.google.common.base.Supplier<T>, long, java.util.concurrent.TimeUnit);
descriptor: (Lcom/google/common/base/Supplier;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.base.Supplier
putfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
2: aload 0
aload 4
lload 2
invokevirtual java.util.concurrent.TimeUnit.toNanos:(J)J
putfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.durationNanos:J
3: lload 2
lconst_0
lcmp
ifle 4
iconst_1
goto 5
StackMap locals: com.google.common.base.Suppliers$ExpiringMemoizingSupplier com.google.common.base.Supplier long java.util.concurrent.TimeUnit
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
6: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/base/Suppliers$ExpiringMemoizingSupplier<TT;>;
0 7 1 delegate Lcom/google/common/base/Supplier<TT;>;
0 7 2 duration J
0 7 4 unit Ljava/util/concurrent/TimeUnit;
Signature: (Lcom/google/common/base/Supplier<TT;>;JLjava/util/concurrent/TimeUnit;)V
MethodParameters:
Name Flags
delegate
duration
unit
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.expirationNanos:J
lstore 1
start local 1 1: invokestatic com.google.common.base.Platform.systemNanoTime:()J
lstore 3
start local 3 2: lload 1
lconst_0
lcmp
ifeq 3
lload 3
lload 1
lsub
lconst_0
lcmp
iflt 17
3: StackMap locals: long long
StackMap stack:
aload 0
dup
astore 5
monitorenter
4: lload 1
aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.expirationNanos:J
lcmp
ifne 13
5: aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
invokeinterface com.google.common.base.Supplier.get:()Ljava/lang/Object;
astore 6
start local 6 6: aload 0
aload 6
putfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.value:Ljava/lang/Object;
7: lload 3
aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.durationNanos:J
ladd
lstore 1
8: aload 0
lload 1
lconst_0
lcmp
ifne 9
lconst_1
goto 10
StackMap locals: com.google.common.base.Suppliers$ExpiringMemoizingSupplier long long com.google.common.base.Suppliers$ExpiringMemoizingSupplier java.lang.Object
StackMap stack: com.google.common.base.Suppliers$ExpiringMemoizingSupplier
9: lload 1
StackMap locals: com.google.common.base.Suppliers$ExpiringMemoizingSupplier long long com.google.common.base.Suppliers$ExpiringMemoizingSupplier java.lang.Object
StackMap stack: com.google.common.base.Suppliers$ExpiringMemoizingSupplier long
10: putfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.expirationNanos:J
11: aload 6
aload 5
monitorexit
12: areturn
end local 6 13: StackMap locals:
StackMap stack:
aload 5
monitorexit
14: goto 17
StackMap locals:
StackMap stack: java.lang.Throwable
15: aload 5
monitorexit
16: athrow
17: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.value:Ljava/lang/Object;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/google/common/base/Suppliers$ExpiringMemoizingSupplier<TT;>;
1 18 1 nanos J
2 18 3 now J
6 13 6 t TT;
Exception table:
from to target type
4 12 15 any
13 14 15 any
15 16 15 any
Signature: ()TT;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Suppliers.memoizeWithExpiration("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield com.google.common.base.Suppliers$ExpiringMemoizingSupplier.durationNanos:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc ", NANOS)"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/base/Suppliers$ExpiringMemoizingSupplier<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lcom/google/common/base/Supplier<TT;>;Ljava/io/Serializable;
SourceFile: "Suppliers.java"
NestHost: com.google.common.base.Suppliers
InnerClasses:
ExpiringMemoizingSupplier = com.google.common.base.Suppliers$ExpiringMemoizingSupplier of com.google.common.base.Suppliers
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()