class com.google.common.base.Suppliers$MemoizingSupplier<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$MemoizingSupplier
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;>;
volatile transient boolean initialized;
descriptor: Z
flags: (0x00c0) ACC_VOLATILE, ACC_TRANSIENT
transient T value;
descriptor: Ljava/lang/Object;
flags: (0x0080) ACC_TRANSIENT
Signature: TT;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
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>);
descriptor: (Lcom/google/common/base/Supplier;)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
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$MemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/base/Suppliers$MemoizingSupplier<TT;>;
0 3 1 delegate Lcom/google/common/base/Supplier<TT;>;
Signature: (Lcom/google/common/base/Supplier<TT;>;)V
MethodParameters:
Name Flags
delegate
public T get();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.initialized:Z
ifne 12
1: aload 0
dup
astore 1
monitorenter
2: aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.initialized:Z
ifne 8
3: aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
invokeinterface com.google.common.base.Supplier.get:()Ljava/lang/Object;
astore 2
start local 2 4: aload 0
aload 2
putfield com.google.common.base.Suppliers$MemoizingSupplier.value:Ljava/lang/Object;
5: aload 0
iconst_1
putfield com.google.common.base.Suppliers$MemoizingSupplier.initialized:Z
6: aload 2
aload 1
monitorexit
7: areturn
end local 2 8: StackMap locals: com.google.common.base.Suppliers$MemoizingSupplier
StackMap stack:
aload 1
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 1
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.value:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/common/base/Suppliers$MemoizingSupplier<TT;>;
4 8 2 t TT;
Exception table:
from to target type
2 7 10 any
8 9 10 any
10 11 10 any
Signature: ()TT;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Suppliers.memoize("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.initialized:Z
ifeq 2
new java.lang.StringBuilder
dup
ldc "<supplier that returned "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.value:Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ">"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack: java.lang.StringBuilder
2: aload 0
getfield com.google.common.base.Suppliers$MemoizingSupplier.delegate:Lcom/google/common/base/Supplier;
StackMap locals: com.google.common.base.Suppliers$MemoizingSupplier
StackMap stack: java.lang.StringBuilder java.lang.Object
3: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/base/Suppliers$MemoizingSupplier<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:
MemoizingSupplier = com.google.common.base.Suppliers$MemoizingSupplier of com.google.common.base.Suppliers
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()