public class org.eclipse.jetty.util.Index$Mutable$Builder<V> extends org.eclipse.jetty.util.Index$Builder<V>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jetty.util.Index$Mutable$Builder
super_class: org.eclipse.jetty.util.Index$Builder
{
private int maxCapacity;
descriptor: I
flags: (0x0002) ACC_PRIVATE
void <init>(boolean, java.util.Map<java.lang.String, V>);
descriptor: (ZLjava/util/Map;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
aload 2
invokespecial org.eclipse.jetty.util.Index$Builder.<init>:(ZLjava/util/Map;)V
1: aload 0
iconst_m1
putfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jetty/util/Index$Mutable$Builder<TV;>;
0 3 1 caseSensitive Z
0 3 2 contents Ljava/util/Map<Ljava/lang/String;TV;>;
Signature: (ZLjava/util/Map<Ljava/lang/String;TV;>;)V
MethodParameters:
Name Flags
caseSensitive
contents
public org.eclipse.jetty.util.Index$Mutable$Builder<V> maxCapacity(int);
descriptor: (I)Lorg/eclipse/jetty/util/Index$Mutable$Builder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jetty/util/Index$Mutable$Builder<TV;>;
0 2 1 capacity I
Signature: (I)Lorg/eclipse/jetty/util/Index$Mutable$Builder<TV;>;
MethodParameters:
Name Flags
capacity
public org.eclipse.jetty.util.Index$Mutable<V> build();
descriptor: ()Lorg/eclipse/jetty/util/Index$Mutable;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.contents:Ljava/util/Map;
ifnull 2
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
ifne 2
1: new java.lang.IllegalStateException
dup
ldc "Cannot create a mutable index with maxCapacity=0 and some contents"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
ifle 7
3: new org.eclipse.jetty.util.ArrayTernaryTrie
dup
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.caseSensitive:Z
ifeq 4
iconst_0
goto 5
StackMap locals: org.eclipse.jetty.util.Index$Mutable$Builder
StackMap stack: new 3 new 3
4: iconst_1
StackMap locals: org.eclipse.jetty.util.Index$Mutable$Builder
StackMap stack: new 3 new 3 int
5: aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
invokespecial org.eclipse.jetty.util.ArrayTernaryTrie.<init>:(ZI)V
astore 1
start local 1 6: goto 14
end local 1 7: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.maxCapacity:I
ifge 13
8: aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.caseSensitive:Z
ifeq 11
9: new org.eclipse.jetty.util.ArrayTernaryTrie$Growing
dup
iconst_0
sipush 512
sipush 512
invokespecial org.eclipse.jetty.util.ArrayTernaryTrie$Growing.<init>:(ZII)V
astore 1
start local 1 10: goto 14
end local 1 11: StackMap locals:
StackMap stack:
new org.eclipse.jetty.util.TreeTrie
dup
invokespecial org.eclipse.jetty.util.TreeTrie.<init>:()V
astore 1
start local 1 12: goto 14
end local 1 13: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.caseSensitive:Z
invokestatic org.eclipse.jetty.util.EmptyTrie.instance:(Z)Lorg/eclipse/jetty/util/EmptyTrie;
astore 1
start local 1 14: StackMap locals: org.eclipse.jetty.util.Index$Mutable
StackMap stack:
aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.contents:Ljava/util/Map;
ifnull 20
15: aload 0
getfield org.eclipse.jetty.util.Index$Mutable$Builder.contents:Ljava/util/Map;
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 19
StackMap locals: org.eclipse.jetty.util.Index$Mutable$Builder org.eclipse.jetty.util.Index$Mutable top java.util.Iterator
StackMap stack:
16: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 2
start local 2 17: aload 1
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
aload 2
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokeinterface org.eclipse.jetty.util.Index$Mutable.put:(Ljava/lang/String;Ljava/lang/Object;)Z
ifne 19
18: new java.lang.AssertionError
dup
new java.lang.StringBuilder
dup
ldc "Index capacity exceeded at "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
checkcast java.lang.String
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 19: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 16
20: StackMap locals: org.eclipse.jetty.util.Index$Mutable$Builder org.eclipse.jetty.util.Index$Mutable
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/eclipse/jetty/util/Index$Mutable$Builder<TV;>;
6 7 1 result Lorg/eclipse/jetty/util/Index$Mutable<TV;>;
10 11 1 result Lorg/eclipse/jetty/util/Index$Mutable<TV;>;
12 13 1 result Lorg/eclipse/jetty/util/Index$Mutable<TV;>;
14 21 1 result Lorg/eclipse/jetty/util/Index$Mutable<TV;>;
17 19 2 entry Ljava/util/Map$Entry<Ljava/lang/String;TV;>;
Signature: ()Lorg/eclipse/jetty/util/Index$Mutable<TV;>;
public org.eclipse.jetty.util.Index build();
descriptor: ()Lorg/eclipse/jetty/util/Index;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.eclipse.jetty.util.Index$Mutable$Builder.build:()Lorg/eclipse/jetty/util/Index$Mutable;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <V:Ljava/lang/Object;>Lorg/eclipse/jetty/util/Index$Builder<TV;>;
SourceFile: "Index.java"
NestHost: org.eclipse.jetty.util.Index
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
Growing = org.eclipse.jetty.util.ArrayTernaryTrie$Growing of org.eclipse.jetty.util.ArrayTernaryTrie
public Builder = org.eclipse.jetty.util.Index$Builder of org.eclipse.jetty.util.Index
public abstract Mutable = org.eclipse.jetty.util.Index$Mutable of org.eclipse.jetty.util.Index
public Builder = org.eclipse.jetty.util.Index$Mutable$Builder of org.eclipse.jetty.util.Index$Mutable