public class org.springframework.validation.beanvalidation.CustomValidatorBean extends org.springframework.validation.beanvalidation.SpringValidatorAdapter implements javax.validation.Validator, org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.validation.beanvalidation.CustomValidatorBean
super_class: org.springframework.validation.beanvalidation.SpringValidatorAdapter
{
private javax.validation.ValidatorFactory validatorFactory;
descriptor: Ljavax/validation/ValidatorFactory;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.validation.MessageInterpolator messageInterpolator;
descriptor: Ljavax/validation/MessageInterpolator;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private javax.validation.TraversableResolver traversableResolver;
descriptor: Ljavax/validation/TraversableResolver;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.validation.beanvalidation.SpringValidatorAdapter.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/validation/beanvalidation/CustomValidatorBean;
public void setValidatorFactory(javax.validation.ValidatorFactory);
descriptor: (Ljavax/validation/ValidatorFactory;)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.validation.beanvalidation.CustomValidatorBean.validatorFactory:Ljavax/validation/ValidatorFactory;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/validation/beanvalidation/CustomValidatorBean;
0 2 1 validatorFactory Ljavax/validation/ValidatorFactory;
MethodParameters:
Name Flags
validatorFactory
public void setMessageInterpolator(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
aload 1
putfield org.springframework.validation.beanvalidation.CustomValidatorBean.messageInterpolator:Ljavax/validation/MessageInterpolator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/validation/beanvalidation/CustomValidatorBean;
0 2 1 messageInterpolator Ljavax/validation/MessageInterpolator;
MethodParameters:
Name Flags
messageInterpolator
public void setTraversableResolver(javax.validation.TraversableResolver);
descriptor: (Ljavax/validation/TraversableResolver;)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.validation.beanvalidation.CustomValidatorBean.traversableResolver:Ljavax/validation/TraversableResolver;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/validation/beanvalidation/CustomValidatorBean;
0 2 1 traversableResolver Ljavax/validation/TraversableResolver;
MethodParameters:
Name Flags
traversableResolver
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.validatorFactory:Ljavax/validation/ValidatorFactory;
ifnonnull 2
1: aload 0
invokestatic javax.validation.Validation.buildDefaultValidatorFactory:()Ljavax/validation/ValidatorFactory;
putfield org.springframework.validation.beanvalidation.CustomValidatorBean.validatorFactory:Ljavax/validation/ValidatorFactory;
2: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.validatorFactory:Ljavax/validation/ValidatorFactory;
invokeinterface javax.validation.ValidatorFactory.usingContext:()Ljavax/validation/ValidatorContext;
astore 1
start local 1 3: aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.messageInterpolator:Ljavax/validation/MessageInterpolator;
astore 2
start local 2 4: aload 2
ifnonnull 6
5: aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.validatorFactory:Ljavax/validation/ValidatorFactory;
invokeinterface javax.validation.ValidatorFactory.getMessageInterpolator:()Ljavax/validation/MessageInterpolator;
astore 2
6: StackMap locals: javax.validation.ValidatorContext javax.validation.MessageInterpolator
StackMap stack:
aload 1
new org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator
dup
aload 2
invokespecial org.springframework.validation.beanvalidation.LocaleContextMessageInterpolator.<init>:(Ljavax/validation/MessageInterpolator;)V
invokeinterface javax.validation.ValidatorContext.messageInterpolator:(Ljavax/validation/MessageInterpolator;)Ljavax/validation/ValidatorContext;
pop
7: aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.traversableResolver:Ljavax/validation/TraversableResolver;
ifnull 9
8: aload 1
aload 0
getfield org.springframework.validation.beanvalidation.CustomValidatorBean.traversableResolver:Ljavax/validation/TraversableResolver;
invokeinterface javax.validation.ValidatorContext.traversableResolver:(Ljavax/validation/TraversableResolver;)Ljavax/validation/ValidatorContext;
pop
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface javax.validation.ValidatorContext.getValidator:()Ljavax/validation/Validator;
invokevirtual org.springframework.validation.beanvalidation.CustomValidatorBean.setTargetValidator:(Ljavax/validation/Validator;)V
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/springframework/validation/beanvalidation/CustomValidatorBean;
3 11 1 validatorContext Ljavax/validation/ValidatorContext;
4 11 2 targetInterpolator Ljavax/validation/MessageInterpolator;
}
SourceFile: "CustomValidatorBean.java"