public class org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder
super_class: java.lang.Object
{
private final java.util.Properties properties;
descriptor: Ljava/util/Properties;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final long fileTimestamp;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private volatile long refreshTimestamp;
descriptor: J
flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE
private final java.util.concurrent.locks.ReentrantLock refreshLock;
descriptor: Ljava/util/concurrent/locks/ReentrantLock;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.ConcurrentMap<java.lang.String, java.util.Map<java.util.Locale, java.text.MessageFormat>> cachedMessageFormats;
descriptor: Ljava/util/concurrent/ConcurrentMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentMap<Ljava/lang/String;Ljava/util/Map<Ljava/util/Locale;Ljava/text/MessageFormat;>;>;
final org.springframework.context.support.ReloadableResourceBundleMessageSource this$0;
descriptor: Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
public void <init>(org.springframework.context.support.ReloadableResourceBundleMessageSource);
descriptor: (Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 0
aload 1
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.this$0:Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -2
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshTimestamp:J
2: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshLock:Ljava/util/concurrent/locks/ReentrantLock;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.cachedMessageFormats:Ljava/util/concurrent/ConcurrentMap;
5: aload 0
aconst_null
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
6: aload 0
ldc -1
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.fileTimestamp:J
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
MethodParameters:
Name Flags
this$0 final
public void <init>(org.springframework.context.support.ReloadableResourceBundleMessageSource, java.util.Properties, long);
descriptor: (Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;Ljava/util/Properties;J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.this$0:Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;
aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -2
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshTimestamp:J
2: aload 0
new java.util.concurrent.locks.ReentrantLock
dup
invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshLock:Ljava/util/concurrent/locks/ReentrantLock;
3: aload 0
4: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.cachedMessageFormats:Ljava/util/concurrent/ConcurrentMap;
5: aload 0
aload 2
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
6: aload 0
lload 3
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.fileTimestamp:J
7: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
0 8 2 properties Ljava/util/Properties;
0 8 3 fileTimestamp J
MethodParameters:
Name Flags
this$0 final
properties
fileTimestamp
public java.util.Properties getProperties();
descriptor: ()Ljava/util/Properties;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public long getFileTimestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.fileTimestamp:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
public void setRefreshTimestamp(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
putfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshTimestamp:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
0 2 1 refreshTimestamp J
MethodParameters:
Name Flags
refreshTimestamp
public long getRefreshTimestamp();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.refreshTimestamp:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
public java.lang.String getProperty(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
0 3 1 code Ljava/lang/String;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
code
public java.text.MessageFormat getMessageFormat(java.lang.String, java.util.Locale);
descriptor: (Ljava/lang/String;Ljava/util/Locale;)Ljava/text/MessageFormat;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.cachedMessageFormats:Ljava/util/concurrent/ConcurrentMap;
aload 1
invokeinterface java.util.concurrent.ConcurrentMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 3
start local 3 3: aload 3
ifnull 7
4: aload 3
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.text.MessageFormat
astore 4
start local 4 5: aload 4
ifnull 7
6: aload 4
areturn
end local 4 7: StackMap locals: java.util.Map
StackMap stack:
aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.properties:Ljava/util/Properties;
aload 1
invokevirtual java.util.Properties.getProperty:(Ljava/lang/String;)Ljava/lang/String;
astore 4
start local 4 8: aload 4
ifnull 17
9: aload 3
ifnonnull 14
10: new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
astore 3
11: aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.cachedMessageFormats:Ljava/util/concurrent/ConcurrentMap;
aload 1
aload 3
invokeinterface java.util.concurrent.ConcurrentMap.putIfAbsent:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Map
astore 5
start local 5 12: aload 5
ifnull 14
13: aload 5
astore 3
end local 5 14: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder.this$0:Lorg/springframework/context/support/ReloadableResourceBundleMessageSource;
aload 4
aload 2
invokevirtual org.springframework.context.support.ReloadableResourceBundleMessageSource.createMessageFormat:(Ljava/lang/String;Ljava/util/Locale;)Ljava/text/MessageFormat;
astore 5
start local 5 15: aload 3
aload 2
aload 5
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
16: aload 5
areturn
end local 5 17: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lorg/springframework/context/support/ReloadableResourceBundleMessageSource$PropertiesHolder;
0 18 1 code Ljava/lang/String;
0 18 2 locale Ljava/util/Locale;
3 18 3 localeMap Ljava/util/Map<Ljava/util/Locale;Ljava/text/MessageFormat;>;
5 7 4 result Ljava/text/MessageFormat;
8 18 4 msg Ljava/lang/String;
12 14 5 existing Ljava/util/Map<Ljava/util/Locale;Ljava/text/MessageFormat;>;
15 17 5 result Ljava/text/MessageFormat;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
code
locale
}
SourceFile: "ReloadableResourceBundleMessageSource.java"
NestHost: org.springframework.context.support.ReloadableResourceBundleMessageSource
InnerClasses:
protected PropertiesHolder = org.springframework.context.support.ReloadableResourceBundleMessageSource$PropertiesHolder of org.springframework.context.support.ReloadableResourceBundleMessageSource