public class org.springframework.validation.beanvalidation.MethodValidationPostProcessor extends org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor implements org.springframework.beans.factory.InitializingBean
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.validation.beanvalidation.MethodValidationPostProcessor
super_class: org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor
{
private java.lang.Class<? extends java.lang.annotation.Annotation> validatedAnnotationType;
descriptor: Ljava/lang/Class;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
private javax.validation.Validator validator;
descriptor: Ljavax/validation/Validator;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.aop.framework.autoproxy.AbstractBeanFactoryAwareAdvisingPostProcessor.<init>:()V
1: aload 0
ldc Lorg/springframework/validation/annotation/Validated;
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validatedAnnotationType:Ljava/lang/Class;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
public void setValidatedAnnotationType(java.lang.Class<? extends java.lang.annotation.Annotation>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "'validatedAnnotationType' must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validatedAnnotationType:Ljava/lang/Class;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
0 3 1 validatedAnnotationType Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;
Signature: (Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>;)V
MethodParameters:
Name Flags
validatedAnnotationType
public void setValidator(javax.validation.Validator);
descriptor: (Ljavax/validation/Validator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
ifeq 3
1: aload 0
aload 1
checkcast org.springframework.validation.beanvalidation.LocalValidatorFactoryBean
invokevirtual org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.getValidator:()Ljavax/validation/Validator;
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validator:Ljavax/validation/Validator;
2: goto 7
3: StackMap locals:
StackMap stack:
aload 1
instanceof org.springframework.validation.beanvalidation.SpringValidatorAdapter
ifeq 6
4: aload 0
aload 1
ldc Ljavax/validation/Validator;
invokeinterface javax.validation.Validator.unwrap:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.validation.Validator
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validator:Ljavax/validation/Validator;
5: goto 7
6: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validator:Ljavax/validation/Validator;
7: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
0 8 1 validator Ljavax/validation/Validator;
MethodParameters:
Name Flags
validator
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
invokeinterface javax.validation.ValidatorFactory.getValidator:()Ljavax/validation/Validator;
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validator:Ljavax/validation/Validator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
0 2 1 validatorFactory Ljavax/validation/ValidatorFactory;
MethodParameters:
Name Flags
validatorFactory
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=1
start local 0 0: new org.springframework.aop.support.annotation.AnnotationMatchingPointcut
dup
aload 0
getfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validatedAnnotationType:Ljava/lang/Class;
iconst_1
invokespecial org.springframework.aop.support.annotation.AnnotationMatchingPointcut.<init>:(Ljava/lang/Class;Z)V
astore 1
start local 1 1: aload 0
new org.springframework.aop.support.DefaultPointcutAdvisor
dup
aload 1
aload 0
aload 0
getfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.validator:Ljavax/validation/Validator;
invokevirtual org.springframework.validation.beanvalidation.MethodValidationPostProcessor.createMethodValidationAdvice:(Ljavax/validation/Validator;)Lorg/aopalliance/aop/Advice;
invokespecial org.springframework.aop.support.DefaultPointcutAdvisor.<init>:(Lorg/springframework/aop/Pointcut;Lorg/aopalliance/aop/Advice;)V
putfield org.springframework.validation.beanvalidation.MethodValidationPostProcessor.advisor:Lorg/springframework/aop/Advisor;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
1 3 1 pointcut Lorg/springframework/aop/Pointcut;
protected org.aopalliance.aop.Advice createMethodValidationAdvice(javax.validation.Validator);
descriptor: (Ljavax/validation/Validator;)Lorg/aopalliance/aop/Advice;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
new org.springframework.validation.beanvalidation.MethodValidationInterceptor
dup
aload 1
invokespecial org.springframework.validation.beanvalidation.MethodValidationInterceptor.<init>:(Ljavax/validation/Validator;)V
goto 2
StackMap locals:
StackMap stack:
1: new org.springframework.validation.beanvalidation.MethodValidationInterceptor
dup
invokespecial org.springframework.validation.beanvalidation.MethodValidationInterceptor.<init>:()V
StackMap locals:
StackMap stack: org.springframework.validation.beanvalidation.MethodValidationInterceptor
2: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/validation/beanvalidation/MethodValidationPostProcessor;
0 3 1 validator Ljavax/validation/Validator;
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
validator
}
SourceFile: "MethodValidationPostProcessor.java"