public class org.apache.lucene.util.Accountables
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.Accountables
super_class: java.lang.Object
{
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
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/apache/lucene/util/Accountables;
public static java.lang.String toString(org.apache.lucene.util.Accountable);
descriptor: (Lorg/apache/lucene/util/Accountable;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
iconst_0
invokestatic org.apache.lucene.util.Accountables.toString:(Ljava/lang/StringBuilder;Lorg/apache/lucene/util/Accountable;I)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 a Lorg/apache/lucene/util/Accountable;
1 3 1 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
a
private static java.lang.StringBuilder toString(java.lang.StringBuilder, org.apache.lucene.util.Accountable, int);
descriptor: (Ljava/lang/StringBuilder;Lorg/apache/lucene/util/Accountable;I)Ljava/lang/StringBuilder;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_1
istore 3
start local 3 1: goto 4
2: StackMap locals: int
StackMap stack:
aload 0
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
3: iinc 3 1
StackMap locals:
StackMap stack:
4: iload 3
iload 2
if_icmplt 2
end local 3 5: iload 2
ifle 7
6: aload 0
ldc "|-- "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
8: aload 0
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 0
aload 1
invokeinterface org.apache.lucene.util.Accountable.ramBytesUsed:()J
invokestatic org.apache.lucene.util.RamUsageEstimator.humanReadableUnits:(J)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
10: aload 0
invokestatic java.lang.System.lineSeparator:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
11: aload 1
invokeinterface org.apache.lucene.util.Accountable.getChildResources:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 14
StackMap locals: java.lang.StringBuilder org.apache.lucene.util.Accountable int top java.util.Iterator
StackMap stack:
12: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.lucene.util.Accountable
astore 3
start local 3 13: aload 0
aload 3
iload 2
iconst_1
iadd
invokestatic org.apache.lucene.util.Accountables.toString:(Ljava/lang/StringBuilder;Lorg/apache/lucene/util/Accountable;I)Ljava/lang/StringBuilder;
pop
end local 3 14: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 12
15: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 dest Ljava/lang/StringBuilder;
0 16 1 a Lorg/apache/lucene/util/Accountable;
0 16 2 depth I
1 5 3 i I
13 14 3 child Lorg/apache/lucene/util/Accountable;
MethodParameters:
Name Flags
dest
a
depth
public static org.apache.lucene.util.Accountable namedAccountable(java.lang.String, org.apache.lucene.util.Accountable);
descriptor: (Ljava/lang/String;Lorg/apache/lucene/util/Accountable;)Lorg/apache/lucene/util/Accountable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
invokeinterface org.apache.lucene.util.Accountable.getChildResources:()Ljava/util/Collection;
aload 1
invokeinterface org.apache.lucene.util.Accountable.ramBytesUsed:()J
invokestatic org.apache.lucene.util.Accountables.namedAccountable:(Ljava/lang/String;Ljava/util/Collection;J)Lorg/apache/lucene/util/Accountable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 description Ljava/lang/String;
0 1 1 in Lorg/apache/lucene/util/Accountable;
MethodParameters:
Name Flags
description
in
public static org.apache.lucene.util.Accountable namedAccountable(java.lang.String, long);
descriptor: (Ljava/lang/String;J)Lorg/apache/lucene/util/Accountable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
lload 1
invokestatic org.apache.lucene.util.Accountables.namedAccountable:(Ljava/lang/String;Ljava/util/Collection;J)Lorg/apache/lucene/util/Accountable;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 description Ljava/lang/String;
0 1 1 bytes J
MethodParameters:
Name Flags
description
bytes
public static java.util.Collection<org.apache.lucene.util.Accountable> namedAccountables(java.lang.String, java.util.Map<?, ? extends org.apache.lucene.util.Accountable>);
descriptor: (Ljava/lang/String;Ljava/util/Map;)Ljava/util/Collection;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: java.lang.String java.util.Map java.util.List top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 2
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " '"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc "'"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
checkcast org.apache.lucene.util.Accountable
invokestatic org.apache.lucene.util.Accountables.namedAccountable:(Ljava/lang/String;Lorg/apache/lucene/util/Accountable;)Lorg/apache/lucene/util/Accountable;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 2
new org.apache.lucene.util.Accountables$1
dup
invokespecial org.apache.lucene.util.Accountables$1.<init>:()V
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
6: aload 2
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 prefix Ljava/lang/String;
0 7 1 in Ljava/util/Map<*+Lorg/apache/lucene/util/Accountable;>;
1 7 2 resources Ljava/util/List<Lorg/apache/lucene/util/Accountable;>;
3 4 3 kv Ljava/util/Map$Entry<*+Lorg/apache/lucene/util/Accountable;>;
Signature: (Ljava/lang/String;Ljava/util/Map<*+Lorg/apache/lucene/util/Accountable;>;)Ljava/util/Collection<Lorg/apache/lucene/util/Accountable;>;
MethodParameters:
Name Flags
prefix
in
public static org.apache.lucene.util.Accountable namedAccountable(java.lang.String, java.util.Collection<org.apache.lucene.util.Accountable>, long);
descriptor: (Ljava/lang/String;Ljava/util/Collection;J)Lorg/apache/lucene/util/Accountable;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.util.Accountables$2
dup
lload 2
aload 1
aload 0
invokespecial org.apache.lucene.util.Accountables$2.<init>:(JLjava/util/Collection;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 description Ljava/lang/String;
0 1 1 children Ljava/util/Collection<Lorg/apache/lucene/util/Accountable;>;
0 1 2 bytes J
Signature: (Ljava/lang/String;Ljava/util/Collection<Lorg/apache/lucene/util/Accountable;>;J)Lorg/apache/lucene/util/Accountable;
MethodParameters:
Name Flags
description final
children final
bytes final
}
SourceFile: "Accountables.java"
NestMembers:
org.apache.lucene.util.Accountables$1 org.apache.lucene.util.Accountables$2
InnerClasses:
public abstract Entry = java.util.Map$Entry of java.util.Map
org.apache.lucene.util.Accountables$1
org.apache.lucene.util.Accountables$2