public abstract class org.springframework.validation.BindingResultUtils
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.validation.BindingResultUtils
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/validation/BindingResultUtils;
public static org.springframework.validation.BindingResult getBindingResult(java.util.Map<?, ?>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)Lorg/springframework/validation/BindingResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ldc "Model map must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
1: aload 1
ldc "Name must not be null"
invokestatic org.springframework.util.Assert.notNull:(Ljava/lang/Object;Ljava/lang/String;)V
2: aload 0
new java.lang.StringBuilder
dup
getstatic org.springframework.validation.BindingResult.MODEL_KEY_PREFIX:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 3: aload 2
ifnull 5
aload 2
instanceof org.springframework.validation.BindingResult
ifne 5
4: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "BindingResult attribute is not of type BindingResult: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.lang.Object
StackMap stack:
aload 2
checkcast org.springframework.validation.BindingResult
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 model Ljava/util/Map<**>;
0 6 1 name Ljava/lang/String;
3 6 2 attr Ljava/lang/Object;
Signature: (Ljava/util/Map<**>;Ljava/lang/String;)Lorg/springframework/validation/BindingResult;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
model
name
public static org.springframework.validation.BindingResult getRequiredBindingResult(java.util.Map<?, ?>, java.lang.String);
descriptor: (Ljava/util/Map;Ljava/lang/String;)Lorg/springframework/validation/BindingResult;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.springframework.validation.BindingResultUtils.getBindingResult:(Ljava/util/Map;Ljava/lang/String;)Lorg/springframework/validation/BindingResult;
astore 2
start local 2 1: aload 2
ifnonnull 5
2: new java.lang.IllegalStateException
dup
new java.lang.StringBuilder
dup
ldc "No BindingResult attribute found for name '"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
3: ldc "'- have you exposed the correct model?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: org.springframework.validation.BindingResult
StackMap stack:
aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 model Ljava/util/Map<**>;
0 6 1 name Ljava/lang/String;
1 6 2 bindingResult Lorg/springframework/validation/BindingResult;
Signature: (Ljava/util/Map<**>;Ljava/lang/String;)Lorg/springframework/validation/BindingResult;
MethodParameters:
Name Flags
model
name
}
SourceFile: "BindingResultUtils.java"