public abstract class org.springframework.beans.PropertyMatches
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.springframework.beans.PropertyMatches
super_class: java.lang.Object
{
public static final int DEFAULT_MAX_DISTANCE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final java.lang.String propertyName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.String[] possibleMatches;
descriptor: [Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.springframework.beans.PropertyMatches forProperty(java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/beans/PropertyMatches;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
invokestatic org.springframework.beans.PropertyMatches.forProperty:(Ljava/lang/String;Ljava/lang/Class;I)Lorg/springframework/beans/PropertyMatches;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
0 1 1 beanClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;)Lorg/springframework/beans/PropertyMatches;
MethodParameters:
Name Flags
propertyName
beanClass
public static org.springframework.beans.PropertyMatches forProperty(java.lang.String, java.lang.Class<?>, int);
descriptor: (Ljava/lang/String;Ljava/lang/Class;I)Lorg/springframework/beans/PropertyMatches;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.beans.PropertyMatches$BeanPropertyMatches
dup
aload 0
aload 1
iload 2
invokespecial org.springframework.beans.PropertyMatches$BeanPropertyMatches.<init>:(Ljava/lang/String;Ljava/lang/Class;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
0 1 1 beanClass Ljava/lang/Class<*>;
0 1 2 maxDistance I
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;I)Lorg/springframework/beans/PropertyMatches;
MethodParameters:
Name Flags
propertyName
beanClass
maxDistance
public static org.springframework.beans.PropertyMatches forField(java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;)Lorg/springframework/beans/PropertyMatches;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_2
invokestatic org.springframework.beans.PropertyMatches.forField:(Ljava/lang/String;Ljava/lang/Class;I)Lorg/springframework/beans/PropertyMatches;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
0 1 1 beanClass Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;)Lorg/springframework/beans/PropertyMatches;
MethodParameters:
Name Flags
propertyName
beanClass
public static org.springframework.beans.PropertyMatches forField(java.lang.String, java.lang.Class<?>, int);
descriptor: (Ljava/lang/String;Ljava/lang/Class;I)Lorg/springframework/beans/PropertyMatches;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.springframework.beans.PropertyMatches$FieldPropertyMatches
dup
aload 0
aload 1
iload 2
invokespecial org.springframework.beans.PropertyMatches$FieldPropertyMatches.<init>:(Ljava/lang/String;Ljava/lang/Class;I)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 propertyName Ljava/lang/String;
0 1 1 beanClass Ljava/lang/Class<*>;
0 1 2 maxDistance I
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;I)Lorg/springframework/beans/PropertyMatches;
MethodParameters:
Name Flags
propertyName
beanClass
maxDistance
private void <init>(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.springframework.beans.PropertyMatches.propertyName:Ljava/lang/String;
2: aload 0
aload 2
putfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/springframework/beans/PropertyMatches;
0 4 1 propertyName Ljava/lang/String;
0 4 2 possibleMatches [Ljava/lang/String;
MethodParameters:
Name Flags
propertyName
possibleMatches
public java.lang.String getPropertyName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.PropertyMatches.propertyName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/PropertyMatches;
public java.lang.String[] getPossibleMatches();
descriptor: ()[Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/beans/PropertyMatches;
public abstract java.lang.String buildErrorMessage();
descriptor: ()Ljava/lang/String;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
protected void appendHintMessage(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ldc "Did you mean "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
1: iconst_0
istore 2
start local 2 2: goto 11
3: StackMap locals: int
StackMap stack:
aload 1
bipush 39
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
4: aload 1
aload 0
getfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
iload 2
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: iload 2
aload 0
getfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
arraylength
iconst_2
isub
if_icmpge 8
6: aload 1
ldc "', "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: goto 10
8: StackMap locals:
StackMap stack:
iload 2
aload 0
getfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
arraylength
iconst_2
isub
if_icmpne 10
9: aload 1
ldc "', or "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
aload 0
getfield org.springframework.beans.PropertyMatches.possibleMatches:[Ljava/lang/String;
arraylength
if_icmplt 3
end local 2 12: aload 1
ldc "'?"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lorg/springframework/beans/PropertyMatches;
0 14 1 msg Ljava/lang/StringBuilder;
2 12 2 i I
MethodParameters:
Name Flags
msg
private static int calculateStringDistance(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.lang.String.isEmpty:()Z
ifeq 2
1: aload 1
invokevirtual java.lang.String.length:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifeq 4
3: aload 0
invokevirtual java.lang.String.length:()I
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
iadd
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
iadd
multianewarray [[I 2
astore 2
start local 2 5: iconst_0
istore 3
start local 3 6: goto 9
7: StackMap locals: int[][] int
StackMap stack:
aload 2
iload 3
aaload
iconst_0
iload 3
iastore
8: iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmple 7
end local 3 10: iconst_0
istore 3
start local 3 11: goto 14
12: StackMap locals:
StackMap stack:
aload 2
iconst_0
aaload
iload 3
iload 3
iastore
13: iinc 3 1
StackMap locals:
StackMap stack:
14: iload 3
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 12
end local 3 15: iconst_1
istore 3
start local 3 16: goto 29
17: StackMap locals:
StackMap stack:
aload 0
iload 3
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 4
start local 4 18: iconst_1
istore 5
start local 5 19: goto 27
20: StackMap locals: int int
StackMap stack:
aload 1
iload 5
iconst_1
isub
invokevirtual java.lang.String.charAt:(I)C
istore 7
start local 7 21: iload 4
iload 7
if_icmpne 24
22: iconst_0
istore 6
start local 6 23: goto 25
end local 6 24: StackMap locals: java.lang.String java.lang.String int[][] int int int top int
StackMap stack:
iconst_1
istore 6
start local 6 25: StackMap locals: java.lang.String java.lang.String int[][] int int int int int
StackMap stack:
aload 2
iload 3
aaload
iload 5
aload 2
iload 3
iconst_1
isub
aaload
iload 5
iaload
iconst_1
iadd
aload 2
iload 3
aaload
iload 5
iconst_1
isub
iaload
iconst_1
iadd
invokestatic java.lang.Math.min:(II)I
aload 2
iload 3
iconst_1
isub
aaload
iload 5
iconst_1
isub
iaload
iload 6
iadd
invokestatic java.lang.Math.min:(II)I
iastore
end local 7 end local 6 26: iinc 5 1
StackMap locals:
StackMap stack:
27: iload 5
aload 1
invokevirtual java.lang.String.length:()I
if_icmple 20
end local 5 end local 4 28: iinc 3 1
StackMap locals:
StackMap stack:
29: iload 3
aload 0
invokevirtual java.lang.String.length:()I
if_icmple 17
end local 3 30: aload 2
aload 0
invokevirtual java.lang.String.length:()I
aaload
aload 1
invokevirtual java.lang.String.length:()I
iaload
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 s1 Ljava/lang/String;
0 31 1 s2 Ljava/lang/String;
5 31 2 d [[I
6 10 3 i I
11 15 3 j I
16 30 3 i I
18 28 4 c1 C
19 28 5 j I
23 24 6 cost I
25 26 6 cost I
21 26 7 c2 C
MethodParameters:
Name Flags
s1
s2
}
SourceFile: "PropertyMatches.java"
NestMembers:
org.springframework.beans.PropertyMatches$BeanPropertyMatches org.springframework.beans.PropertyMatches$FieldPropertyMatches
InnerClasses:
private BeanPropertyMatches = org.springframework.beans.PropertyMatches$BeanPropertyMatches of org.springframework.beans.PropertyMatches
private FieldPropertyMatches = org.springframework.beans.PropertyMatches$FieldPropertyMatches of org.springframework.beans.PropertyMatches