public class org.springframework.beans.propertyeditors.CustomBooleanEditor extends java.beans.PropertyEditorSupport
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.beans.propertyeditors.CustomBooleanEditor
super_class: java.beans.PropertyEditorSupport
{
public static final java.lang.String VALUE_TRUE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "true"
public static final java.lang.String VALUE_FALSE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "false"
public static final java.lang.String VALUE_ON;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "on"
public static final java.lang.String VALUE_OFF;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "off"
public static final java.lang.String VALUE_YES;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "yes"
public static final java.lang.String VALUE_NO;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "no"
public static final java.lang.String VALUE_1;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "1"
public static final java.lang.String VALUE_0;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "0"
private final java.lang.String trueString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final java.lang.String falseString;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private final boolean allowEmpty;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
aconst_null
iload 1
invokespecial org.springframework.beans.propertyeditors.CustomBooleanEditor.<init>:(Ljava/lang/String;Ljava/lang/String;Z)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/beans/propertyeditors/CustomBooleanEditor;
0 2 1 allowEmpty Z
MethodParameters:
Name Flags
allowEmpty
public void <init>(java.lang.String, java.lang.String, boolean);
descriptor: (Ljava/lang/String;Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.beans.PropertyEditorSupport.<init>:()V
1: aload 0
aload 1
putfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
2: aload 0
aload 2
putfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
3: aload 0
iload 3
putfield org.springframework.beans.propertyeditors.CustomBooleanEditor.allowEmpty:Z
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/beans/propertyeditors/CustomBooleanEditor;
0 5 1 trueString Ljava/lang/String;
0 5 2 falseString Ljava/lang/String;
0 5 3 allowEmpty Z
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
1:
org.springframework.lang.Nullable()
2:
MethodParameters:
Name Flags
trueString
falseString
allowEmpty
public void setAsText(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.trim:()Ljava/lang/String;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
StackMap locals:
StackMap stack: java.lang.String
2: astore 2
start local 2 3: aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.allowEmpty:Z
ifeq 6
aload 2
invokestatic org.springframework.util.StringUtils.hasLength:(Ljava/lang/String;)Z
ifne 6
4: aload 0
aconst_null
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.setValue:(Ljava/lang/Object;)V
5: goto 23
6: StackMap locals: java.lang.String
StackMap stack:
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
ifnull 9
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 9
7: aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.setValue:(Ljava/lang/Object;)V
8: goto 23
9: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
ifnull 12
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.setValue:(Ljava/lang/Object;)V
11: goto 23
12: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
ifnonnull 17
13: ldc "true"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 15
ldc "on"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 15
14: ldc "yes"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 15
ldc "1"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 17
15: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.setValue:(Ljava/lang/Object;)V
16: goto 23
17: StackMap locals:
StackMap stack:
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
ifnonnull 22
18: ldc "false"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 20
ldc "off"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 20
19: ldc "no"
aload 2
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifne 20
ldc "0"
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 22
20: StackMap locals:
StackMap stack:
aload 0
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.setValue:(Ljava/lang/Object;)V
21: goto 23
22: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid boolean value ["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
23: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/springframework/beans/propertyeditors/CustomBooleanEditor;
0 24 1 text Ljava/lang/String;
3 24 2 input Ljava/lang/String;
Exceptions:
throws java.lang.IllegalArgumentException
RuntimeVisibleParameterAnnotations:
0:
org.springframework.lang.Nullable()
MethodParameters:
Name Flags
text
public java.lang.String getAsText();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
aload 0
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 4
1: aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
ifnull 2
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.trueString:Ljava/lang/String;
goto 3
StackMap locals:
StackMap stack:
2: ldc "true"
StackMap locals:
StackMap stack: java.lang.String
3: areturn
4: StackMap locals:
StackMap stack:
getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
aload 0
invokevirtual org.springframework.beans.propertyeditors.CustomBooleanEditor.getValue:()Ljava/lang/Object;
invokevirtual java.lang.Boolean.equals:(Ljava/lang/Object;)Z
ifeq 8
5: aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
ifnull 6
aload 0
getfield org.springframework.beans.propertyeditors.CustomBooleanEditor.falseString:Ljava/lang/String;
goto 7
StackMap locals:
StackMap stack:
6: ldc "false"
StackMap locals:
StackMap stack: java.lang.String
7: areturn
8: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/springframework/beans/propertyeditors/CustomBooleanEditor;
}
SourceFile: "CustomBooleanEditor.java"