public class io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator implements java.util.Comparator<java.lang.String>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final org.apache.commons.text.similarity.LevenshteinDistance LEVENSHTEIN_DISTANCE;
descriptor: Lorg/apache/commons/text/similarity/LevenshteinDistance;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String base;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.apache.commons.text.similarity.LevenshteinDistance
dup
invokespecial org.apache.commons.text.similarity.LevenshteinDistance.<init>:()V
putstatic io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.LEVENSHTEIN_DISTANCE:Lorg/apache/commons/text/similarity/LevenshteinDistance;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.base:Ljava/lang/String;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lio/dropwizard/configuration/ConfigurationParsingException$Builder$LevenshteinComparator;
0 3 1 base Ljava/lang/String;
MethodParameters:
Name Flags
base
public int compare(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.base:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_m1
ireturn
4: StackMap locals:
StackMap stack:
aload 2
aload 0
getfield io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.base:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
getstatic io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.LEVENSHTEIN_DISTANCE:Lorg/apache/commons/text/similarity/LevenshteinDistance;
aload 1
aload 0
getfield io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.base:Ljava/lang/String;
invokevirtual org.apache.commons.text.similarity.LevenshteinDistance.apply:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
7: getstatic io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.LEVENSHTEIN_DISTANCE:Lorg/apache/commons/text/similarity/LevenshteinDistance;
aload 2
aload 0
getfield io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.base:Ljava/lang/String;
invokevirtual org.apache.commons.text.similarity.LevenshteinDistance.apply:(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
8: invokestatic java.lang.Integer.compare:(II)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/dropwizard/configuration/ConfigurationParsingException$Builder$LevenshteinComparator;
0 9 1 a Ljava/lang/String;
0 9 2 b Ljava/lang/String;
MethodParameters:
Name Flags
a
b
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/configuration/ConfigurationParsingException$Builder$LevenshteinComparator;
0 2 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/configuration/ConfigurationParsingException$Builder$LevenshteinComparator;
0 2 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.String
aload 2
checkcast java.lang.String
invokevirtual io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator.compare:(Ljava/lang/String;Ljava/lang/String;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljava/util/Comparator<Ljava/lang/String;>;Ljava/io/Serializable;
SourceFile: "ConfigurationParsingException.java"
NestHost: io.dropwizard.configuration.ConfigurationParsingException
InnerClasses:
Builder = io.dropwizard.configuration.ConfigurationParsingException$Builder of io.dropwizard.configuration.ConfigurationParsingException
protected LevenshteinComparator = io.dropwizard.configuration.ConfigurationParsingException$Builder$LevenshteinComparator of io.dropwizard.configuration.ConfigurationParsingException$Builder