final class org.graalvm.graphio.GraphSnippets
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.graalvm.graphio.GraphSnippets
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
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/graalvm/graphio/GraphSnippets;
static org.graalvm.graphio.GraphStructure<org.graalvm.graphio.GraphSnippets$AcmeGraph, org.graalvm.graphio.GraphSnippets$AcmeNode, org.graalvm.graphio.GraphSnippets$AcmeNodeType, org.graalvm.graphio.GraphSnippets$AcmePorts> acmeGraphStructure();
descriptor: ()Lorg/graalvm/graphio/GraphStructure;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new org.graalvm.graphio.GraphSnippets$1AcmeGraphStructure
dup
invokespecial org.graalvm.graphio.GraphSnippets$1AcmeGraphStructure.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lorg/graalvm/graphio/GraphStructure<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;Lorg/graalvm/graphio/GraphSnippets$AcmeNode;Lorg/graalvm/graphio/GraphSnippets$AcmeNodeType;Lorg/graalvm/graphio/GraphSnippets$AcmePorts;>;
static org.graalvm.graphio.GraphOutput<org.graalvm.graphio.GraphSnippets$AcmeGraph, ?> buildOutput(java.nio.channels.WritableByteChannel);
descriptor: (Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic org.graalvm.graphio.GraphSnippets.acmeGraphStructure:()Lorg/graalvm/graphio/GraphStructure;
invokestatic org.graalvm.graphio.GraphOutput.newBuilder:(Lorg/graalvm/graphio/GraphStructure;)Lorg/graalvm/graphio/GraphOutput$Builder;
1: iconst_5
iconst_0
invokevirtual org.graalvm.graphio.GraphOutput$Builder.protocolVersion:(II)Lorg/graalvm/graphio/GraphOutput$Builder;
2: aload 0
invokevirtual org.graalvm.graphio.GraphOutput$Builder.build:(Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput;
3: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 channel Ljava/nio/channels/WritableByteChannel;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;*>;
MethodParameters:
Name Flags
channel
static org.graalvm.graphio.GraphOutput<org.graalvm.graphio.GraphSnippets$AcmeGraph, ?> buildAll(java.nio.channels.WritableByteChannel);
descriptor: (Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic org.graalvm.graphio.GraphSnippets.acmeBlocks:()Lorg/graalvm/graphio/GraphBlocks;
astore 1
start local 1 1: invokestatic org.graalvm.graphio.GraphSnippets.acmeElements:()Lorg/graalvm/graphio/GraphElements;
astore 2
start local 2 2: invokestatic org.graalvm.graphio.GraphSnippets.acmeTypes:()Lorg/graalvm/graphio/GraphTypes;
astore 3
start local 3 3: invokestatic org.graalvm.graphio.GraphSnippets.acmeGraphStructure:()Lorg/graalvm/graphio/GraphStructure;
invokestatic org.graalvm.graphio.GraphOutput.newBuilder:(Lorg/graalvm/graphio/GraphStructure;)Lorg/graalvm/graphio/GraphOutput$Builder;
4: iconst_5
iconst_0
invokevirtual org.graalvm.graphio.GraphOutput$Builder.protocolVersion:(II)Lorg/graalvm/graphio/GraphOutput$Builder;
5: aload 1
invokevirtual org.graalvm.graphio.GraphOutput$Builder.blocks:(Lorg/graalvm/graphio/GraphBlocks;)Lorg/graalvm/graphio/GraphOutput$Builder;
6: aload 2
invokevirtual org.graalvm.graphio.GraphOutput$Builder.elements:(Lorg/graalvm/graphio/GraphElements;)Lorg/graalvm/graphio/GraphOutput$Builder;
7: aload 3
invokevirtual org.graalvm.graphio.GraphOutput$Builder.types:(Lorg/graalvm/graphio/GraphTypes;)Lorg/graalvm/graphio/GraphOutput$Builder;
8: aload 0
invokevirtual org.graalvm.graphio.GraphOutput$Builder.build:(Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput;
9: areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 channel Ljava/nio/channels/WritableByteChannel;
1 10 1 graphBlocks Lorg/graalvm/graphio/GraphBlocks<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;Lorg/graalvm/graphio/GraphSnippets$AcmeBlocks;Lorg/graalvm/graphio/GraphSnippets$AcmeNode;>;
2 10 2 graphElements Lorg/graalvm/graphio/GraphElements<Lorg/graalvm/graphio/GraphSnippets$AcmeMethod;Lorg/graalvm/graphio/GraphSnippets$AcmeField;Lorg/graalvm/graphio/GraphSnippets$AcmeSignature;Lorg/graalvm/graphio/GraphSnippets$AcmeCodePosition;>;
3 10 3 graphTypes Lorg/graalvm/graphio/GraphTypes;
Exceptions:
throws java.io.IOException
Signature: (Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;*>;
MethodParameters:
Name Flags
channel
private static org.graalvm.graphio.GraphTypes acmeTypes();
descriptor: ()Lorg/graalvm/graphio/GraphTypes;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: aconst_null
astore 0
start local 0 1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 graphTypes Lorg/graalvm/graphio/GraphTypes;
private static org.graalvm.graphio.GraphElements<org.graalvm.graphio.GraphSnippets$AcmeMethod, org.graalvm.graphio.GraphSnippets$AcmeField, org.graalvm.graphio.GraphSnippets$AcmeSignature, org.graalvm.graphio.GraphSnippets$AcmeCodePosition> acmeElements();
descriptor: ()Lorg/graalvm/graphio/GraphElements;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: aconst_null
astore 0
start local 0 1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 graphElements Lorg/graalvm/graphio/GraphElements<Lorg/graalvm/graphio/GraphSnippets$AcmeMethod;Lorg/graalvm/graphio/GraphSnippets$AcmeField;Lorg/graalvm/graphio/GraphSnippets$AcmeSignature;Lorg/graalvm/graphio/GraphSnippets$AcmeCodePosition;>;
Signature: ()Lorg/graalvm/graphio/GraphElements<Lorg/graalvm/graphio/GraphSnippets$AcmeMethod;Lorg/graalvm/graphio/GraphSnippets$AcmeField;Lorg/graalvm/graphio/GraphSnippets$AcmeSignature;Lorg/graalvm/graphio/GraphSnippets$AcmeCodePosition;>;
private static org.graalvm.graphio.GraphBlocks<org.graalvm.graphio.GraphSnippets$AcmeGraph, org.graalvm.graphio.GraphSnippets$AcmeBlocks, org.graalvm.graphio.GraphSnippets$AcmeNode> acmeBlocks();
descriptor: ()Lorg/graalvm/graphio/GraphBlocks;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: aconst_null
astore 0
start local 0 1: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 2 0 graphBlocks Lorg/graalvm/graphio/GraphBlocks<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;Lorg/graalvm/graphio/GraphSnippets$AcmeBlocks;Lorg/graalvm/graphio/GraphSnippets$AcmeNode;>;
Signature: ()Lorg/graalvm/graphio/GraphBlocks<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;Lorg/graalvm/graphio/GraphSnippets$AcmeBlocks;Lorg/graalvm/graphio/GraphSnippets$AcmeNode;>;
static void dump(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0008) ACC_STATIC
Code:
stack=9, locals=10, args_size=1
start local 0 0: aconst_null
astore 1
aconst_null
astore 2
1: new java.io.FileOutputStream
dup
aload 0
invokespecial java.io.FileOutputStream.<init>:(Ljava/io/File;)V
invokevirtual java.io.FileOutputStream.getChannel:()Ljava/nio/channels/FileChannel;
astore 3
start local 3 2: aload 3
invokestatic org.graalvm.graphio.GraphSnippets.buildOutput:(Ljava/nio/channels/WritableByteChannel;)Lorg/graalvm/graphio/GraphOutput;
astore 4
start local 4 3: new org.graalvm.graphio.GraphSnippets$AcmeNode
dup
iconst_0
invokespecial org.graalvm.graphio.GraphSnippets$AcmeNode.<init>:(I)V
astore 5
start local 5 4: new org.graalvm.graphio.GraphSnippets$AcmeNode
dup
iconst_1
invokespecial org.graalvm.graphio.GraphSnippets$AcmeNode.<init>:(I)V
astore 6
start local 6 5: new org.graalvm.graphio.GraphSnippets$AcmeNode
dup
iconst_2
invokespecial org.graalvm.graphio.GraphSnippets$AcmeNode.<init>:(I)V
astore 7
start local 7 6: new org.graalvm.graphio.GraphSnippets$AcmeNode
dup
iconst_3
invokespecial org.graalvm.graphio.GraphSnippets$AcmeNode.<init>:(I)V
astore 8
start local 8 7: aload 5
aload 6
invokevirtual org.graalvm.graphio.GraphSnippets$AcmeNode.linkTo:(Lorg/graalvm/graphio/GraphSnippets$AcmeNode;)V
8: aload 5
aload 7
invokevirtual org.graalvm.graphio.GraphSnippets$AcmeNode.linkTo:(Lorg/graalvm/graphio/GraphSnippets$AcmeNode;)V
9: aload 6
aload 8
invokevirtual org.graalvm.graphio.GraphSnippets$AcmeNode.linkTo:(Lorg/graalvm/graphio/GraphSnippets$AcmeNode;)V
10: aload 7
aload 8
invokevirtual org.graalvm.graphio.GraphSnippets$AcmeNode.linkTo:(Lorg/graalvm/graphio/GraphSnippets$AcmeNode;)V
11: new org.graalvm.graphio.GraphSnippets$AcmeGraph
dup
aload 5
invokespecial org.graalvm.graphio.GraphSnippets$AcmeGraph.<init>:(Lorg/graalvm/graphio/GraphSnippets$AcmeNode;)V
astore 9
start local 9 12: aload 4
aload 9
ldc "Diamond"
ldc "dia"
aconst_null
iconst_0
aconst_null
invokevirtual org.graalvm.graphio.GraphOutput.beginGroup:(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/String;Ljava/lang/Object;ILjava/util/Map;)V
13: aload 4
aload 9
aconst_null
iconst_0
ldc "Diamond graph #%d"
iconst_1
anewarray java.lang.Object
dup
iconst_0
iconst_1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
invokevirtual org.graalvm.graphio.GraphOutput.print:(Ljava/lang/Object;Ljava/util/Map;ILjava/lang/String;[Ljava/lang/Object;)V
14: aload 4
invokevirtual org.graalvm.graphio.GraphOutput.endGroup:()V
end local 9 end local 8 end local 7 end local 6 end local 5 15: aload 4
ifnull 18
aload 4
invokevirtual org.graalvm.graphio.GraphOutput.close:()V
goto 18
StackMap locals: java.io.File java.lang.Throwable java.lang.Throwable java.nio.channels.FileChannel org.graalvm.graphio.GraphOutput
StackMap stack: java.lang.Throwable
16: astore 1
aload 4
ifnull 17
aload 4
invokevirtual org.graalvm.graphio.GraphOutput.close:()V
end local 4 StackMap locals:
StackMap stack:
17: aload 1
athrow
StackMap locals:
StackMap stack:
18: aload 3
ifnull 26
aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
goto 26
StackMap locals:
StackMap stack: java.lang.Throwable
19: astore 2
aload 1
ifnonnull 20
aload 2
astore 1
goto 21
StackMap locals:
StackMap stack:
20: aload 1
aload 2
if_acmpeq 21
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
21: aload 3
ifnull 22
aload 3
invokevirtual java.nio.channels.FileChannel.close:()V
end local 3 StackMap locals:
StackMap stack:
22: aload 1
athrow
StackMap locals:
StackMap stack: java.lang.Throwable
23: astore 2
aload 1
ifnonnull 24
aload 2
astore 1
goto 25
StackMap locals:
StackMap stack:
24: aload 1
aload 2
if_acmpeq 25
aload 1
aload 2
invokevirtual java.lang.Throwable.addSuppressed:(Ljava/lang/Throwable;)V
StackMap locals:
StackMap stack:
25: aload 1
athrow
26: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 toFile Ljava/io/File;
2 22 3 ch Ljava/nio/channels/FileChannel;
3 17 4 output Lorg/graalvm/graphio/GraphOutput<Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;*>;
4 15 5 root Lorg/graalvm/graphio/GraphSnippets$AcmeNode;
5 15 6 n1 Lorg/graalvm/graphio/GraphSnippets$AcmeNode;
6 15 7 n2 Lorg/graalvm/graphio/GraphSnippets$AcmeNode;
7 15 8 n3 Lorg/graalvm/graphio/GraphSnippets$AcmeNode;
12 15 9 diamondGraph Lorg/graalvm/graphio/GraphSnippets$AcmeGraph;
Exception table:
from to target type
3 15 16 any
2 18 19 any
1 23 23 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
toFile
}
SourceFile: "GraphSnippets.java"
NestMembers:
org.graalvm.graphio.GraphSnippets$1AcmeGraphStructure org.graalvm.graphio.GraphSnippets$AcmeBlocks org.graalvm.graphio.GraphSnippets$AcmeCodePosition org.graalvm.graphio.GraphSnippets$AcmeEdges org.graalvm.graphio.GraphSnippets$AcmeField org.graalvm.graphio.GraphSnippets$AcmeGraph org.graalvm.graphio.GraphSnippets$AcmeMethod org.graalvm.graphio.GraphSnippets$AcmeNode org.graalvm.graphio.GraphSnippets$AcmeNodeType org.graalvm.graphio.GraphSnippets$AcmePorts org.graalvm.graphio.GraphSnippets$AcmeSignature
InnerClasses:
public final Builder = org.graalvm.graphio.GraphOutput$Builder of org.graalvm.graphio.GraphOutput
AcmeGraphStructure = org.graalvm.graphio.GraphSnippets$1AcmeGraphStructure
private AcmeBlocks = org.graalvm.graphio.GraphSnippets$AcmeBlocks of org.graalvm.graphio.GraphSnippets
private AcmeCodePosition = org.graalvm.graphio.GraphSnippets$AcmeCodePosition of org.graalvm.graphio.GraphSnippets
private AcmeEdges = org.graalvm.graphio.GraphSnippets$AcmeEdges of org.graalvm.graphio.GraphSnippets
private AcmeField = org.graalvm.graphio.GraphSnippets$AcmeField of org.graalvm.graphio.GraphSnippets
private AcmeGraph = org.graalvm.graphio.GraphSnippets$AcmeGraph of org.graalvm.graphio.GraphSnippets
private AcmeMethod = org.graalvm.graphio.GraphSnippets$AcmeMethod of org.graalvm.graphio.GraphSnippets
private AcmeNode = org.graalvm.graphio.GraphSnippets$AcmeNode of org.graalvm.graphio.GraphSnippets
private final AcmeNodeType = org.graalvm.graphio.GraphSnippets$AcmeNodeType of org.graalvm.graphio.GraphSnippets
private final AcmePorts = org.graalvm.graphio.GraphSnippets$AcmePorts of org.graalvm.graphio.GraphSnippets
private AcmeSignature = org.graalvm.graphio.GraphSnippets$AcmeSignature of org.graalvm.graphio.GraphSnippets