public class org.springframework.web.method.annotation.RequestParamMethodArgumentResolver extends org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver implements org.springframework.web.method.support.UriComponentsContributor
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.web.method.annotation.RequestParamMethodArgumentResolver
super_class: org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
{
private static final org.springframework.core.convert.TypeDescriptor STRING_TYPE_DESCRIPTOR;
descriptor: Lorg/springframework/core/convert/TypeDescriptor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private final boolean useDefaultResolution;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Ljava/lang/String;
invokestatic org.springframework.core.convert.TypeDescriptor.valueOf:(Ljava/lang/Class;)Lorg/springframework/core/convert/TypeDescriptor;
putstatic org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.STRING_TYPE_DESCRIPTOR:Lorg/springframework/core/convert/TypeDescriptor;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.<init>:()V
1: aload 0
iload 1
putfield org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.useDefaultResolution:Z
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
0 3 1 useDefaultResolution Z
MethodParameters:
Name Flags
useDefaultResolution
public void <init>(org.springframework.beans.factory.config.ConfigurableBeanFactory, boolean);
descriptor: (Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;Z)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 1
invokespecial org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver.<init>:(Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;)V
1: aload 0
iload 2
putfield org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.useDefaultResolution:Z
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
0 3 1 beanFactory Lorg/springframework/beans/factory/config/ConfigurableBeanFactory;
0 3 2 useDefaultResolution Z
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
MethodParameters:
Name Flags
beanFactory
useDefaultResolution
public boolean supportsParameter(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/web/bind/annotation/RequestParam;
invokevirtual org.springframework.core.MethodParameter.hasParameterAnnotation:(Ljava/lang/Class;)Z
ifeq 6
1: ldc Ljava/util/Map;
aload 1
invokevirtual org.springframework.core.MethodParameter.nestedIfOptional:()Lorg/springframework/core/MethodParameter;
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 5
2: aload 1
ldc Lorg/springframework/web/bind/annotation/RequestParam;
invokevirtual org.springframework.core.MethodParameter.getParameterAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.springframework.web.bind.annotation.RequestParam
astore 2
start local 2 3: aload 2
ifnull 4
aload 2
invokeinterface org.springframework.web.bind.annotation.RequestParam.name:()Ljava/lang/String;
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 4
iconst_1
ireturn
StackMap locals: org.springframework.web.bind.annotation.RequestParam
StackMap stack:
4: iconst_0
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 1
ldc Lorg/springframework/web/bind/annotation/RequestPart;
invokevirtual org.springframework.core.MethodParameter.hasParameterAnnotation:(Ljava/lang/Class;)Z
ifeq 8
7: iconst_0
ireturn
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.springframework.core.MethodParameter.nestedIfOptional:()Lorg/springframework/core/MethodParameter;
astore 1
9: aload 1
invokestatic org.springframework.web.multipart.support.MultipartResolutionDelegate.isMultipartArgument:(Lorg/springframework/core/MethodParameter;)Z
ifeq 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.useDefaultResolution:Z
ifeq 13
12: aload 1
invokevirtual org.springframework.core.MethodParameter.getNestedParameterType:()Ljava/lang/Class;
invokestatic org.springframework.beans.BeanUtils.isSimpleProperty:(Ljava/lang/Class;)Z
ireturn
13: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
0 14 1 parameter Lorg/springframework/core/MethodParameter;
3 5 2 requestParam Lorg/springframework/web/bind/annotation/RequestParam;
MethodParameters:
Name Flags
parameter
protected org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver$NamedValueInfo createNamedValueInfo(org.springframework.core.MethodParameter);
descriptor: (Lorg/springframework/core/MethodParameter;)Lorg/springframework/web/method/annotation/AbstractNamedValueMethodArgumentResolver$NamedValueInfo;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc Lorg/springframework/web/bind/annotation/RequestParam;
invokevirtual org.springframework.core.MethodParameter.getParameterAnnotation:(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
checkcast org.springframework.web.bind.annotation.RequestParam
astore 2
start local 2 1: aload 2
ifnull 2
new org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo
dup
aload 2
invokespecial org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo.<init>:(Lorg/springframework/web/bind/annotation/RequestParam;)V
goto 3
StackMap locals: org.springframework.web.bind.annotation.RequestParam
StackMap stack:
2: new org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo
dup
invokespecial org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo.<init>:()V
StackMap locals:
StackMap stack: org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
0 4 1 parameter Lorg/springframework/core/MethodParameter;
1 4 2 ann Lorg/springframework/web/bind/annotation/RequestParam;
MethodParameters:
Name Flags
parameter
protected java.lang.Object resolveName(java.lang.String, org.springframework.core.MethodParameter, org.springframework.web.context.request.NativeWebRequest);
descriptor: (Ljava/lang/String;Lorg/springframework/core/MethodParameter;Lorg/springframework/web/context/request/NativeWebRequest;)Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tHttpServletRequest cannot be resolved to a type\n\tType mismatch: cannot convert from HttpServletRequest to HttpServletRequest\n\tHttpServletRequest cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
Exceptions:
throws java.lang.Exception
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
parameter
request
protected void handleMissingValue(java.lang.String, org.springframework.core.MethodParameter, org.springframework.web.context.request.NativeWebRequest);
descriptor: (Ljava/lang/String;Lorg/springframework/core/MethodParameter;Lorg/springframework/web/context/request/NativeWebRequest;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tHttpServletRequest cannot be resolved to a type\n\tType mismatch: cannot convert from HttpServletRequest to HttpServletRequest\n\tHttpServletRequest cannot be resolved to a type\n\tNo exception of type MissingServletRequestPartException can be thrown; an exception type must be a subclass of Throwable\n\tNo exception of type MissingServletRequestParameterException can be thrown; an exception type must be a subclass of Throwable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
Exceptions:
throws java.lang.Exception
MethodParameters:
Name Flags
name
parameter
request
public void contributeMethodArgument(org.springframework.core.MethodParameter, , org.springframework.web.util.UriComponentsBuilder, java.util.Map<java.lang.String, java.lang.Object>, org.springframework.core.convert.ConversionService);
descriptor: (Lorg/springframework/core/MethodParameter;Ljava/lang/Object;Lorg/springframework/web/util/UriComponentsBuilder;Ljava/util/Map;Lorg/springframework/core/convert/ConversionService;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=6
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tPart cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/web/method/annotation/RequestParamMethodArgumentResolver;
Signature: (Lorg/springframework/core/MethodParameter;Ljava/lang/Object;Lorg/springframework/web/util/UriComponentsBuilder;Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;Lorg/springframework/core/convert/ConversionService;)V
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
2:
3:
4:
MethodParameters:
Name Flags
parameter
value
builder
uriVariables
conversionService
protected java.lang.String formatUriValue(org.springframework.core.convert.ConversionService, org.springframework.core.convert.TypeDescriptor, java.lang.Object);
descriptor: (Lorg/springframework/core/convert/ConversionService;Lorg/springframework/core/convert/TypeDescriptor;Ljava/lang/Object;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 3
instanceof java.lang.String
ifeq 4
3: aload 3
checkcast java.lang.String
areturn
4: StackMap locals:
StackMap stack:
aload 1
ifnull 6
5: aload 1
aload 3
aload 2
getstatic org.springframework.web.method.annotation.RequestParamMethodArgumentResolver.STRING_TYPE_DESCRIPTOR:Lorg/springframework/core/convert/TypeDescriptor;
invokeinterface org.springframework.core.convert.ConversionService.convert:(Ljava/lang/Object;Lorg/springframework/core/convert/TypeDescriptor;Lorg/springframework/core/convert/TypeDescriptor;)Ljava/lang/Object;
checkcast java.lang.String
areturn
6: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
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/RequestParamMethodArgumentResolver;
0 7 1 cs Lorg/springframework/core/convert/ConversionService;
0 7 2 sourceType Lorg/springframework/core/convert/TypeDescriptor;
0 7 3 value Ljava/lang/Object;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
2:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
cs
sourceType
value
}
SourceFile: "RequestParamMethodArgumentResolver.java"
NestMembers:
org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo
InnerClasses:
protected NamedValueInfo = org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver$NamedValueInfo of org.springframework.web.method.annotation.AbstractNamedValueMethodArgumentResolver
private RequestParamNamedValueInfo = org.springframework.web.method.annotation.RequestParamMethodArgumentResolver$RequestParamNamedValueInfo of org.springframework.web.method.annotation.RequestParamMethodArgumentResolver