abstract class org.springframework.web.bind.ServletRequestUtils$ParameterParser<T>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.web.bind.ServletRequestUtils$ParameterParser
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/bind/ServletRequestUtils$ParameterParser<TT;>;
protected final T parse(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.springframework.web.bind.ServletRequestUtils$ParameterParser.validateRequiredParameter:(Ljava/lang/String;Ljava/lang/Object;)V
1: aload 0
aload 2
invokevirtual org.springframework.web.bind.ServletRequestUtils$ParameterParser.doParse:(Ljava/lang/String;)Ljava/lang/Object;
2: areturn
3: StackMap locals:
StackMap stack: java.lang.NumberFormatException
astore 3
start local 3 4: new org.springframework.web.bind.ServletRequestBindingException
dup
5: new java.lang.StringBuilder
dup
ldc "Required "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.springframework.web.bind.ServletRequestUtils$ParameterParser.getType:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " parameter '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' with value of '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "' is not a valid number"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: aload 3
9: invokespecial org.springframework.web.bind.ServletRequestBindingException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/web/bind/ServletRequestUtils$ParameterParser<TT;>;
0 10 1 name Ljava/lang/String;
0 10 2 parameter Ljava/lang/String;
4 10 3 ex Ljava/lang/NumberFormatException;
Exception table:
from to target type
1 2 3 Class java.lang.NumberFormatException
Exceptions:
throws org.springframework.web.bind.ServletRequestBindingException
Signature: (Ljava/lang/String;Ljava/lang/String;)TT;
MethodParameters:
Name Flags
name
parameter
protected final void validateRequiredParameter(java.lang.String, java.lang.Object);
descriptor: (Ljava/lang/String;Ljava/lang/Object;)V
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
ifnonnull 2
1: new org.springframework.web.bind.MissingServletRequestParameterException
dup
aload 1
aload 0
invokevirtual org.springframework.web.bind.ServletRequestUtils$ParameterParser.getType:()Ljava/lang/String;
invokespecial org.springframework.web.bind.MissingServletRequestParameterException.<init>:(Ljava/lang/String;Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/bind/ServletRequestUtils$ParameterParser<TT;>;
0 3 1 name Ljava/lang/String;
0 3 2 parameter Ljava/lang/Object;
Exceptions:
throws org.springframework.web.bind.ServletRequestBindingException
RuntimeVisibleParameterAnnotations:
0:
1:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
name
parameter
protected abstract java.lang.String getType();
descriptor: ()Ljava/lang/String;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
protected abstract T doParse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
Exceptions:
throws java.lang.NumberFormatException
Signature: (Ljava/lang/String;)TT;
MethodParameters:
Name Flags
parameter
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ServletRequestUtils.java"
NestHost: org.springframework.web.bind.ServletRequestUtils
InnerClasses:
private abstract ParameterParser = org.springframework.web.bind.ServletRequestUtils$ParameterParser of org.springframework.web.bind.ServletRequestUtils