public class org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator implements org.hibernate.validator.spi.resourceloading.ResourceBundleLocator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator
super_class: java.lang.Object
{
private final org.springframework.context.MessageSource messageSource;
descriptor: Lorg/springframework/context/MessageSource;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(org.springframework.context.MessageSource);
descriptor: (Lorg/springframework/context/MessageSource;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator this
start local 1 // org.springframework.context.MessageSource messageSource
0: .line 46
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
1: .line 47
aload 1 /* messageSource */
ldc "MessageSource must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: .line 48
aload 0 /* this */
aload 1 /* messageSource */
putfield org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator.messageSource:Lorg/springframework/context/MessageSource;
3: .line 49
return
end local 1 // org.springframework.context.MessageSource messageSource
end local 0 // org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator this
LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/validation/beanvalidation/MessageSourceResourceBundleLocator;
0 4 1 messageSource Lorg/springframework/context/MessageSource;
MethodParameters:
Name Flags
messageSource
public java.util.ResourceBundle getResourceBundle(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/util/ResourceBundle;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 // org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator this
start local 1 // java.util.Locale locale
0: .line 53
new org.springframework.context.support.MessageSourceResourceBundle
dup
aload 0 /* this */
getfield org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator.messageSource:Lorg/springframework/context/MessageSource;
aload 1 /* locale */
invokespecial org.springframework.context.support.MessageSourceResourceBundle.<init>:(Lorg/springframework/context/MessageSource;Ljava/util/Locale;)V
areturn
end local 1 // java.util.Locale locale
end local 0 // org.springframework.validation.beanvalidation.MessageSourceResourceBundleLocator this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/validation/beanvalidation/MessageSourceResourceBundleLocator;
0 1 1 locale Ljava/util/Locale;
MethodParameters:
Name Flags
locale
}
SourceFile: "MessageSourceResourceBundleLocator.java"