public abstract class org.springframework.cache.support.AbstractValueAdaptingCache implements org.springframework.cache.Cache
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.cache.support.AbstractValueAdaptingCache
super_class: java.lang.Object
{
private final boolean allowNullValues;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(boolean);
descriptor: (Z)V
flags: (0x0004) ACC_PROTECTED
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
iload 1
putfield org.springframework.cache.support.AbstractValueAdaptingCache.allowNullValues:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 3 1 allowNullValues Z
MethodParameters:
Name Flags
allowNullValues
public final boolean isAllowNullValues();
descriptor: ()Z
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.cache.support.AbstractValueAdaptingCache.allowNullValues:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
public org.springframework.cache.Cache$ValueWrapper get(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.lookup:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
aload 2
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.toValueWrapper:(Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 2 1 key Ljava/lang/Object;
1 2 2 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
key
public <T> T get(, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.lookup:(Ljava/lang/Object;)Ljava/lang/Object;
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.fromStoreValue:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 3
ifnull 5
aload 2
ifnull 5
aload 2
aload 3
invokevirtual java.lang.Class.isInstance:(Ljava/lang/Object;)Z
ifne 5
2: new java.lang.IllegalStateException
dup
3: new java.lang.StringBuilder
dup
ldc "Cached value is not of required type ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 6 1 key Ljava/lang/Object;
0 6 2 type Ljava/lang/Class<TT;>;
1 6 3 value Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Object;Ljava/lang/Class<TT;>;)TT;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
key
type
protected abstract java.lang.Object lookup(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
key
protected java.lang.Object fromStoreValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.cache.support.AbstractValueAdaptingCache.allowNullValues:Z
ifeq 2
aload 1
getstatic org.springframework.cache.support.NullValue.INSTANCE:Ljava/lang/Object;
if_acmpne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 3 1 storeValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
storeValue
protected java.lang.Object toStoreValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 6
1: aload 0
getfield org.springframework.cache.support.AbstractValueAdaptingCache.allowNullValues:Z
ifeq 3
2: getstatic org.springframework.cache.support.NullValue.INSTANCE:Ljava/lang/Object;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
4: new java.lang.StringBuilder
dup
ldc "Cache '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is configured to not allow null values but null was provided"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 7 1 userValue Ljava/lang/Object;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
userValue
protected org.springframework.cache.Cache$ValueWrapper toValueWrapper(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/springframework/cache/Cache$ValueWrapper;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
new org.springframework.cache.support.SimpleValueWrapper
dup
aload 0
aload 1
invokevirtual org.springframework.cache.support.AbstractValueAdaptingCache.fromStoreValue:(Ljava/lang/Object;)Ljava/lang/Object;
invokespecial org.springframework.cache.support.SimpleValueWrapper.<init>:(Ljava/lang/Object;)V
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: org.springframework.cache.support.SimpleValueWrapper
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/cache/support/AbstractValueAdaptingCache;
0 3 1 storeValue Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
storeValue
}
SourceFile: "AbstractValueAdaptingCache.java"
InnerClasses:
public abstract ValueWrapper = org.springframework.cache.Cache$ValueWrapper of org.springframework.cache.Cache