public class org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator implements javax.validation.MessageInterpolator
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
super_class: java.lang.Object
{
private final javax.validation.MessageInterpolator targetInterpolator;
descriptor: Ljavax/validation/MessageInterpolator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(javax.validation.MessageInterpolator);
descriptor: (Ljavax/validation/MessageInterpolator;)V
flags: (0x0001) ACC_PUBLIC
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 1
ldc "Target MessageInterpolator must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator.targetInterpolator:Ljavax/validation/MessageInterpolator;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/validation/beanvalidation/LocaleContextMessageInterpolator;
0 4 1 targetInterpolator Ljavax/validation/MessageInterpolator;
MethodParameters:
Name Flags
targetInterpolator
public java.lang.String interpolate(java.lang.String, javax.validation.MessageInterpolator$Context);
descriptor: (Ljava/lang/String;Ljavax/validation/MessageInterpolator$Context;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator.targetInterpolator:Ljavax/validation/MessageInterpolator;
aload 1
aload 2
invokestatic org.springframework.context.i18n.LocaleContextHolder.getLocale:()Ljava/util/Locale;
invokeinterface javax.validation.MessageInterpolator.interpolate:(Ljava/lang/String;Ljavax/validation/MessageInterpolator$Context;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/validation/beanvalidation/LocaleContextMessageInterpolator;
0 1 1 message Ljava/lang/String;
0 1 2 context Ljavax/validation/MessageInterpolator$Context;
MethodParameters:
Name Flags
message
context
public java.lang.String interpolate(java.lang.String, javax.validation.MessageInterpolator$Context, java.util.Locale);
descriptor: (Ljava/lang/String;Ljavax/validation/MessageInterpolator$Context;Ljava/util/Locale;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator.targetInterpolator:Ljavax/validation/MessageInterpolator;
aload 1
aload 2
aload 3
invokeinterface javax.validation.MessageInterpolator.interpolate:(Ljava/lang/String;Ljavax/validation/MessageInterpolator$Context;Ljava/util/Locale;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/validation/beanvalidation/LocaleContextMessageInterpolator;
0 1 1 message Ljava/lang/String;
0 1 2 context Ljavax/validation/MessageInterpolator$Context;
0 1 3 locale Ljava/util/Locale;
MethodParameters:
Name Flags
message
context
locale
}
SourceFile: "LocaleContextMessageInterpolator.java"
InnerClasses:
public abstract Context = javax.validation.MessageInterpolator$Context of javax.validation.MessageInterpolator