public class org.springframework.web.method.annotation.InitBinderDataBinderFactory extends org.springframework.web.bind.support.DefaultDataBinderFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.method.annotation.InitBinderDataBinderFactory
super_class: org.springframework.web.bind.support.DefaultDataBinderFactory
{
private final java.util.List<org.springframework.web.method.support.InvocableHandlerMethod> binderMethods;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/springframework/web/method/support/InvocableHandlerMethod;>;
public void <init>(java.util.List<org.springframework.web.method.support.InvocableHandlerMethod>, org.springframework.web.bind.support.WebBindingInitializer);
descriptor: (Ljava/util/List;Lorg/springframework/web/bind/support/WebBindingInitializer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokespecial org.springframework.web.bind.support.DefaultDataBinderFactory.<init>:(Lorg/springframework/web/bind/support/WebBindingInitializer;)V
1: aload 0
aload 1
ifnull 2
aload 1
goto 3
StackMap locals: org.springframework.web.method.annotation.InitBinderDataBinderFactory java.util.List org.springframework.web.bind.support.WebBindingInitializer
StackMap stack: org.springframework.web.method.annotation.InitBinderDataBinderFactory
2: invokestatic java.util.Collections.emptyList:()Ljava/util/List;
StackMap locals: org.springframework.web.method.annotation.InitBinderDataBinderFactory java.util.List org.springframework.web.bind.support.WebBindingInitializer
StackMap stack: org.springframework.web.method.annotation.InitBinderDataBinderFactory java.util.List
3: putfield org.springframework.web.method.annotation.InitBinderDataBinderFactory.binderMethods:Ljava/util/List;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/web/method/annotation/InitBinderDataBinderFactory;
0 5 1 binderMethods Ljava/util/List<Lorg/springframework/web/method/support/InvocableHandlerMethod;>;
0 5 2 initializer Lorg/springframework/web/bind/support/WebBindingInitializer;
Signature: (Ljava/util/List<Lorg/springframework/web/method/support/InvocableHandlerMethod;>;Lorg/springframework/web/bind/support/WebBindingInitializer;)V
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
binderMethods
initializer
public void initBinder(org.springframework.web.bind.WebDataBinder, org.springframework.web.context.request.NativeWebRequest);
descriptor: (Lorg/springframework/web/bind/WebDataBinder;Lorg/springframework/web/context/request/NativeWebRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.web.method.annotation.InitBinderDataBinderFactory.binderMethods:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.springframework.web.method.annotation.InitBinderDataBinderFactory org.springframework.web.bind.WebDataBinder org.springframework.web.context.request.NativeWebRequest top java.util.Iterator
StackMap stack:
1: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.springframework.web.method.support.InvocableHandlerMethod
astore 3
start local 3 2: aload 0
aload 3
aload 1
invokevirtual org.springframework.web.method.annotation.InitBinderDataBinderFactory.isBinderMethodApplicable:(Lorg/springframework/web/method/HandlerMethod;Lorg/springframework/web/bind/WebDataBinder;)Z
ifeq 8
3: aload 3
aload 2
aconst_null
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokevirtual org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest:(Lorg/springframework/web/context/request/NativeWebRequest;Lorg/springframework/web/method/support/ModelAndViewContainer;[Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 4: aload 5
ifnull 8
5: new java.lang.IllegalStateException
dup
6: new java.lang.StringBuilder
dup
ldc "@InitBinder methods must not return a value (should be void): "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 5 end local 3 8: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 1
9: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/web/method/annotation/InitBinderDataBinderFactory;
0 10 1 dataBinder Lorg/springframework/web/bind/WebDataBinder;
0 10 2 request Lorg/springframework/web/context/request/NativeWebRequest;
2 8 3 binderMethod Lorg/springframework/web/method/support/InvocableHandlerMethod;
4 8 5 returnValue Ljava/lang/Object;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
dataBinder
request
protected boolean isBinderMethodApplicable(org.springframework.web.method.HandlerMethod, org.springframework.web.bind.WebDataBinder);
descriptor: (Lorg/springframework/web/method/HandlerMethod;Lorg/springframework/web/bind/WebDataBinder;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ldc Lorg/springframework/web/bind/annotation/InitBinder;
invokevirtual org.springframework.web.method.HandlerMethod.getMethodAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.springframework.web.bind.annotation.InitBinder
astore 3
start local 3 1: aload 3
ifnull 2
iconst_1
goto 3
StackMap locals: org.springframework.web.bind.annotation.InitBinder
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "No InitBinder annotation"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
4: aload 3
invokeinterface org.springframework.web.bind.annotation.InitBinder.value:()[Ljava/lang/String;
astore 4
start local 4 5: aload 4
invokestatic org.springframework.util.ObjectUtils.isEmpty:([Ljava/lang/Object;)Z
ifne 6
aload 4
aload 2
invokevirtual org.springframework.web.bind.WebDataBinder.getObjectName:()Ljava/lang/String;
invokestatic org.springframework.util.ObjectUtils.containsElement:([Ljava/lang/Object;Ljava/lang/Object;)Z
ifne 6
iconst_0
ireturn
StackMap locals: java.lang.String[]
StackMap stack:
6: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/method/annotation/InitBinderDataBinderFactory;
0 7 1 initBinderMethod Lorg/springframework/web/method/HandlerMethod;
0 7 2 dataBinder Lorg/springframework/web/bind/WebDataBinder;
1 7 3 ann Lorg/springframework/web/bind/annotation/InitBinder;
5 7 4 names [Ljava/lang/String;
MethodParameters:
Name Flags
initBinderMethod
dataBinder
}
SourceFile: "InitBinderDataBinderFactory.java"