class com.sun.imageio.plugins.jpeg.AdobeMarkerSegment extends com.sun.imageio.plugins.jpeg.MarkerSegment
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment
super_class: com.sun.imageio.plugins.jpeg.MarkerSegment
{
int version;
descriptor: I
flags: (0x0000)
int flags0;
descriptor: I
flags: (0x0000)
int flags1;
descriptor: I
flags: (0x0000)
int transform;
descriptor: I
flags: (0x0000)
private static final int ID_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
sipush 238
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(I)V
1: aload 0
bipush 101
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
3: aload 0
iconst_0
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
4: aload 0
iload 1
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
0 6 1 transform I
MethodParameters:
Name Flags
transform
void <init>(com.sun.imageio.plugins.jpeg.JPEGBuffer);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
flags: (0x0000)
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.sun.imageio.plugins.jpeg.MarkerSegment.<init>:(Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
1: aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
iconst_5
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
2: aload 0
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
bipush 8
ishl
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
3: aload 0
dup
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
ior
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
4: aload 0
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
bipush 8
ishl
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
5: aload 0
dup
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
ior
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
6: aload 0
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
bipush 8
ishl
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
7: aload 0
dup
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
ior
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
8: aload 0
aload 1
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.buf:[B
aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
dup_x1
iconst_1
iadd
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufPtr:I
baload
sipush 255
iand
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
9: aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.length:I
isub
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
0 11 1 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
void <init>(org.w3c.dom.Node);
descriptor: (Lorg/w3c/dom/Node;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
invokespecial com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.<init>:(I)V
1: aload 0
aload 1
iconst_1
invokevirtual com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.updateFromNativeNode:(Lorg/w3c/dom/Node;Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
0 3 1 node Lorg/w3c/dom/Node;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
javax.imageio.metadata.IIOMetadataNode getNativeNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "app14Adobe"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "version"
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
2: aload 1
ldc "flags0"
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
ldc "flags1"
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 1
ldc "transform"
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
invokestatic java.lang.Integer.toString:(I)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
1 6 1 node Ljavax/imageio/metadata/IIOMetadataNode;
void updateFromNativeNode(org.w3c.dom.Node, boolean);
descriptor: (Lorg/w3c/dom/Node;Z)V
flags: (0x0000)
Code:
stack=7, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface org.w3c.dom.Node.getAttributes:()Lorg/w3c/dom/NamedNodeMap;
astore 3
start local 3 1: aload 0
aload 1
aload 3
ldc "transform"
iconst_0
iconst_2
iconst_1
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.getAttributeValue:(Lorg/w3c/dom/Node;Lorg/w3c/dom/NamedNodeMap;Ljava/lang/String;IIZ)I
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
2: aload 3
invokeinterface org.w3c.dom.NamedNodeMap.getLength:()I
istore 4
start local 4 3: iload 4
iconst_4
if_icmple 7
4: new javax.imageio.metadata.IIOInvalidTreeException
dup
5: ldc "Adobe APP14 node cannot have > 4 attributes"
aload 1
6: invokespecial javax.imageio.metadata.IIOInvalidTreeException.<init>:(Ljava/lang/String;Lorg/w3c/dom/Node;)V
athrow
7: StackMap locals: org.w3c.dom.NamedNodeMap int
StackMap stack:
iload 4
iconst_1
if_icmple 22
8: aload 1
aload 3
ldc "version"
9: bipush 100
sipush 255
iconst_0
10: invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.getAttributeValue:(Lorg/w3c/dom/Node;Lorg/w3c/dom/NamedNodeMap;Ljava/lang/String;IIZ)I
istore 5
start local 5 11: aload 0
iload 5
iconst_m1
if_icmpeq 12
iload 5
goto 13
StackMap locals: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment org.w3c.dom.Node int org.w3c.dom.NamedNodeMap int int
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment
12: aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
StackMap locals: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment org.w3c.dom.Node int org.w3c.dom.NamedNodeMap int int
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment int
13: putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
14: aload 1
aload 3
ldc "flags0"
iconst_0
ldc 65535
iconst_0
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.getAttributeValue:(Lorg/w3c/dom/Node;Lorg/w3c/dom/NamedNodeMap;Ljava/lang/String;IIZ)I
istore 5
15: aload 0
iload 5
iconst_m1
if_icmpeq 16
iload 5
goto 17
StackMap locals:
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment
16: aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
StackMap locals: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment org.w3c.dom.Node int org.w3c.dom.NamedNodeMap int int
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment int
17: putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
18: aload 1
aload 3
ldc "flags1"
iconst_0
ldc 65535
iconst_0
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.getAttributeValue:(Lorg/w3c/dom/Node;Lorg/w3c/dom/NamedNodeMap;Ljava/lang/String;IIZ)I
istore 5
19: aload 0
iload 5
iconst_m1
if_icmpeq 20
iload 5
goto 21
StackMap locals:
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment
20: aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
StackMap locals: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment org.w3c.dom.Node int org.w3c.dom.NamedNodeMap int int
StackMap stack: com.sun.imageio.plugins.jpeg.AdobeMarkerSegment int
21: putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
end local 5 22: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
0 23 1 node Lorg/w3c/dom/Node;
0 23 2 fromScratch Z
1 23 3 attrs Lorg/w3c/dom/NamedNodeMap;
3 23 4 count I
11 22 5 value I
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
fromScratch
void write(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 14
putfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.length:I
1: aload 0
aload 1
invokevirtual com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.writeTag:(Ljavax/imageio/stream/ImageOutputStream;)V
2: iconst_5
newarray 8
dup
iconst_0
bipush 65
bastore
dup
iconst_1
bipush 100
bastore
dup
iconst_2
bipush 111
bastore
dup
iconst_3
bipush 98
bastore
dup
iconst_4
bipush 101
bastore
astore 2
start local 2 3: aload 1
aload 2
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
4: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.write2bytes:(Ljavax/imageio/stream/ImageOutputStream;I)V
5: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.write2bytes:(Ljavax/imageio/stream/ImageOutputStream;I)V
6: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
invokestatic com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.write2bytes:(Ljavax/imageio/stream/ImageOutputStream;I)V
7: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
0 9 1 ios Ljavax/imageio/stream/ImageOutputStream;
3 9 2 id [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
static void writeAdobeSegment(javax.imageio.stream.ImageOutputStream, int);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;I)V
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.imageio.plugins.jpeg.AdobeMarkerSegment
dup
iload 1
invokespecial com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.<init>:(I)V
aload 0
invokevirtual com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.write:(Ljavax/imageio/stream/ImageOutputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 ios Ljavax/imageio/stream/ImageOutputStream;
0 2 1 transform I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
transform
void print();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "Adobe APP14"
invokevirtual com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.printTag:(Ljava/lang/String;)V
1: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Version: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.version:I
invokevirtual java.io.PrintStream.println:(I)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Flags0: 0x"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
4: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags0:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
5: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Flags1: 0x"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
6: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.flags1:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
7: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Transform: "
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
8: getstatic java.lang.System.out:Ljava/io/PrintStream;
aload 0
getfield com.sun.imageio.plugins.jpeg.AdobeMarkerSegment.transform:I
invokevirtual java.io.PrintStream.println:(I)V
9: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/imageio/plugins/jpeg/AdobeMarkerSegment;
}
SourceFile: "AdobeMarkerSegment.java"