public abstract class org.springframework.context.support.AbstractResourceBasedMessageSource extends org.springframework.context.support.AbstractMessageSource
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.context.support.AbstractResourceBasedMessageSource
super_class: org.springframework.context.support.AbstractMessageSource
{
private final java.util.Set<java.lang.String> basenameSet;
descriptor: Ljava/util/Set;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Set<Ljava/lang/String;>;
private java.lang.String defaultEncoding;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean fallbackToSystemLocale;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private long cacheMillis;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.context.support.AbstractMessageSource.<init>:()V
1: aload 0
new java.util.LinkedHashSet
dup
iconst_4
invokespecial java.util.LinkedHashSet.<init>:(I)V
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.basenameSet:Ljava/util/Set;
2: aload 0
iconst_1
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.fallbackToSystemLocale:Z
3: aload 0
ldc -1
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.cacheMillis:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
public void setBasename(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 1
aastore
invokevirtual org.springframework.context.support.AbstractResourceBasedMessageSource.setBasenames:([Ljava/lang/String;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 2 1 basename Ljava/lang/String;
MethodParameters:
Name Flags
basename
public void setBasenames(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.basenameSet:Ljava/util/Set;
invokeinterface java.util.Set.clear:()V
1: aload 0
aload 1
invokevirtual org.springframework.context.support.AbstractResourceBasedMessageSource.addBasenames:([Ljava/lang/String;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 3 1 basenames [Ljava/lang/String;
MethodParameters:
Name Flags
basenames
public void addBasenames(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifne 7
1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 6
StackMap locals: org.springframework.context.support.AbstractResourceBasedMessageSource java.lang.String[] top int int java.lang.String[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
ldc "Basename must not be empty"
invokestatic org.springframework.util.Assert.hasText:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.basenameSet:Ljava/util/Set;
aload 2
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 5: iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
iload 4
if_icmplt 2
7: StackMap locals: org.springframework.context.support.AbstractResourceBasedMessageSource java.lang.String[]
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 8 1 basenames [Ljava/lang/String;
3 5 2 basename Ljava/lang/String;
MethodParameters:
Name Flags
basenames
public java.util.Set<java.lang.String> getBasenameSet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.basenameSet:Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public void setDefaultEncoding(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.defaultEncoding:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 2 1 defaultEncoding Ljava/lang/String;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
defaultEncoding
protected java.lang.String getDefaultEncoding();
descriptor: ()Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.defaultEncoding:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void setFallbackToSystemLocale(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.fallbackToSystemLocale:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 2 1 fallbackToSystemLocale Z
MethodParameters:
Name Flags
fallbackToSystemLocale
protected boolean isFallbackToSystemLocale();
descriptor: ()Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.fallbackToSystemLocale:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
public void setCacheSeconds(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
sipush 1000
imul
i2l
putfield org.springframework.context.support.AbstractResourceBasedMessageSource.cacheMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 2 1 cacheSeconds I
MethodParameters:
Name Flags
cacheSeconds
public void setCacheMillis(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.AbstractResourceBasedMessageSource.cacheMillis:J
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
0 2 1 cacheMillis J
MethodParameters:
Name Flags
cacheMillis
protected long getCacheMillis();
descriptor: ()J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.context.support.AbstractResourceBasedMessageSource.cacheMillis:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/context/support/AbstractResourceBasedMessageSource;
}
SourceFile: "AbstractResourceBasedMessageSource.java"