public class org.springframework.web.method.annotation.MapMethodProcessor implements org.springframework.web.method.support.HandlerMethodArgumentResolver, org.springframework.web.method.support.HandlerMethodReturnValueHandler
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.method.annotation.MapMethodProcessor
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/MapMethodProcessor;
public boolean supportsParameter(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljava/util/Map;
aload 1
invokevirtual org.springframework.core.MethodParameter.getParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/MapMethodProcessor;
0 1 1 parameter Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
parameter
public java.lang.Object resolveArgument(org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest, org.springframework.web.bind.support.WebDataBinderFactory);
descriptor: (Lorg/springframework/core/MethodParameter;Lorg/springframework/web/method/support/ModelAndViewContainer;Lorg/springframework/web/context/request/NativeWebRequest;Lorg/springframework/web/bind/support/WebDataBinderFactory;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 2
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "ModelAndViewContainer is required for model exposure"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 2
invokevirtual org.springframework.web.method.support.ModelAndViewContainer.getModel:()Lorg/springframework/ui/ModelMap;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/method/annotation/MapMethodProcessor;
0 4 1 parameter Lorg/springframework/core/MethodParameter;
0 4 2 mavContainer Lorg/springframework/web/method/support/ModelAndViewContainer;
0 4 3 webRequest Lorg/springframework/web/context/request/NativeWebRequest;
0 4 4 binderFactory Lorg/springframework/web/bind/support/WebDataBinderFactory;
Exceptions:
throws java.lang.Exception
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
3:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
parameter
mavContainer
webRequest
binderFactory
public boolean supportsReturnType(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: ldc Ljava/util/Map;
aload 1
invokevirtual org.springframework.core.MethodParameter.getParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/MapMethodProcessor;
0 1 1 returnType Lorg/springframework/core/MethodParameter;
MethodParameters:
Name Flags
returnType
public void handleReturnValue(java.lang.Object, org.springframework.core.MethodParameter, org.springframework.web.method.support.ModelAndViewContainer, org.springframework.web.context.request.NativeWebRequest);
descriptor: (Ljava/lang/Object;Lorg/springframework/core/MethodParameter;Lorg/springframework/web/method/support/ModelAndViewContainer;Lorg/springframework/web/context/request/NativeWebRequest;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
instanceof java.util.Map
ifeq 3
1: aload 3
aload 1
checkcast java.util.Map
invokevirtual org.springframework.web.method.support.ModelAndViewContainer.addAllAttributes:(Ljava/util/Map;)Lorg/springframework/web/method/support/ModelAndViewContainer;
pop
2: goto 7
3: StackMap locals:
StackMap stack:
aload 1
ifnull 7
4: new java.lang.UnsupportedOperationException
dup
new java.lang.StringBuilder
dup
ldc "Unexpected return type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
5: aload 2
invokevirtual org.springframework.core.MethodParameter.getParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " in method: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual org.springframework.core.MethodParameter.getMethod:()Ljava/lang/reflect/Method;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/web/method/annotation/MapMethodProcessor;
0 8 1 returnValue Ljava/lang/Object;
0 8 2 returnType Lorg/springframework/core/MethodParameter;
0 8 3 mavContainer Lorg/springframework/web/method/support/ModelAndViewContainer;
0 8 4 webRequest Lorg/springframework/web/context/request/NativeWebRequest;
Exceptions:
throws java.lang.Exception
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
2:
3:
MethodParameters:
Name Flags
returnValue
returnType
mavContainer
webRequest
}
SourceFile: "MapMethodProcessor.java"