public interface com.oracle.svm.configure.json.JsonPrinter<T>
minor version: 0
major version: 59
flags: flags: (0x0601) ACC_PUBLIC, ACC_INTERFACE, ACC_ABSTRACT
this_class: com.oracle.svm.configure.json.JsonPrinter
super_class: java.lang.Object
{
public abstract void print(T, com.oracle.svm.configure.json.JsonWriter);
descriptor: (Ljava/lang/Object;Lcom/oracle/svm/configure/json/JsonWriter;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Exceptions:
throws java.io.IOException
Signature: (TT;Lcom/oracle/svm/configure/json/JsonWriter;)V
MethodParameters:
Name Flags
t
writer
public static <T> void printCollection(com.oracle.svm.configure.json.JsonWriter, java.util.Collection<T>, java.util.Comparator<T>, com.oracle.svm.configure.json.JsonPrinter<T>);
descriptor: (Lcom/oracle/svm/configure/json/JsonWriter;Ljava/util/Collection;Ljava/util/Comparator;Lcom/oracle/svm/configure/json/JsonPrinter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
bipush 91
invokevirtual com.oracle.svm.configure.json.JsonWriter.append:(C)Lcom/oracle/svm/configure/json/JsonWriter;
pop
1: aload 0
invokevirtual com.oracle.svm.configure.json.JsonWriter.indent:()Lcom/oracle/svm/configure/json/JsonWriter;
pop
2: ldc ""
astore 4
start local 4 3: aload 1
astore 5
start local 5 4: aload 2
ifnull 7
5: new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
astore 5
6: aload 5
checkcast java.util.List
aload 2
invokeinterface java.util.List.sort:(Ljava/util/Comparator;)V
7: StackMap locals: java.lang.String java.util.Collection
StackMap stack:
aload 5
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 7
goto 14
StackMap locals: com.oracle.svm.configure.json.JsonWriter java.util.Collection java.util.Comparator com.oracle.svm.configure.json.JsonPrinter java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
8: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 6
start local 6 9: aload 0
aload 4
invokevirtual com.oracle.svm.configure.json.JsonWriter.append:(Ljava/lang/String;)Lcom/oracle/svm/configure/json/JsonWriter;
pop
10: aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 12
11: aload 0
invokevirtual com.oracle.svm.configure.json.JsonWriter.newline:()Lcom/oracle/svm/configure/json/JsonWriter;
pop
12: StackMap locals: com.oracle.svm.configure.json.JsonWriter java.util.Collection java.util.Comparator com.oracle.svm.configure.json.JsonPrinter java.lang.String java.util.Collection java.lang.Object java.util.Iterator
StackMap stack:
aload 3
aload 6
aload 0
invokeinterface com.oracle.svm.configure.json.JsonPrinter.print:(Ljava/lang/Object;Lcom/oracle/svm/configure/json/JsonWriter;)V
13: ldc ", "
astore 4
end local 6 14: StackMap locals: com.oracle.svm.configure.json.JsonWriter java.util.Collection java.util.Comparator com.oracle.svm.configure.json.JsonPrinter java.lang.String java.util.Collection top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
15: aload 0
invokevirtual com.oracle.svm.configure.json.JsonWriter.unindent:()Lcom/oracle/svm/configure/json/JsonWriter;
pop
16: aload 1
invokeinterface java.util.Collection.size:()I
iconst_1
if_icmple 18
17: aload 0
invokevirtual com.oracle.svm.configure.json.JsonWriter.newline:()Lcom/oracle/svm/configure/json/JsonWriter;
pop
18: StackMap locals: com.oracle.svm.configure.json.JsonWriter java.util.Collection java.util.Comparator com.oracle.svm.configure.json.JsonPrinter java.lang.String java.util.Collection
StackMap stack:
aload 0
ldc "]"
invokevirtual com.oracle.svm.configure.json.JsonWriter.append:(Ljava/lang/String;)Lcom/oracle/svm/configure/json/JsonWriter;
pop
19: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 writer Lcom/oracle/svm/configure/json/JsonWriter;
0 20 1 collection Ljava/util/Collection<TT;>;
0 20 2 comparator Ljava/util/Comparator<TT;>;
0 20 3 elementPrinter Lcom/oracle/svm/configure/json/JsonPrinter<TT;>;
3 20 4 prefix Ljava/lang/String;
4 20 5 ordered Ljava/util/Collection<TT;>;
9 14 6 t TT;
Exceptions:
throws java.io.IOException
Signature: <T:Ljava/lang/Object;>(Lcom/oracle/svm/configure/json/JsonWriter;Ljava/util/Collection<TT;>;Ljava/util/Comparator<TT;>;Lcom/oracle/svm/configure/json/JsonPrinter<TT;>;)V
MethodParameters:
Name Flags
writer
collection
comparator
elementPrinter
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "JsonPrinter.java"