class com.sun.imageio.plugins.jpeg.MarkerSegment implements java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.imageio.plugins.jpeg.MarkerSegment
super_class: java.lang.Object
{
protected static final int LENGTH_SIZE;
descriptor: I
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
int tag;
descriptor: I
flags: (0x0000)
int length;
descriptor: I
flags: (0x0000)
byte[] data;
descriptor: [B
flags: (0x0000)
boolean unknown;
descriptor: Z
flags: (0x0000)
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.unknown:Z
3: aload 1
iconst_3
invokevirtual com.sun.imageio.plugins.jpeg.JPEGBuffer.loadBuf:(I)V
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
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.tag:I
5: 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.MarkerSegment.length:I
6: aload 0
dup
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length: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.MarkerSegment.length:I
7: aload 0
dup
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
iconst_2
isub
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
8: aload 1
dup
getfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
iconst_3
isub
putfield com.sun.imageio.plugins.jpeg.JPEGBuffer.bufAvail:I
9: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
invokevirtual com.sun.imageio.plugins.jpeg.JPEGBuffer.loadBuf:(I)V
10: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 11 1 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
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
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
2: aload 0
iconst_0
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.unknown:Z
3: aload 0
iload 1
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.tag:I
4: aload 0
iconst_0
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 6 1 tag I
MethodParameters:
Name Flags
tag
void <init>(Node);
descriptor: (LNode;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import org.w3c cannot be resolved\n\tThe import org.w3c cannot be resolved\n\tNode cannot be resolved to a type\n\tNode cannot be resolved to a type\n\tNamedNodeMap cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
protected java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast com.sun.imageio.plugins.jpeg.MarkerSegment
astore 1
2: goto 4
StackMap locals: com.sun.imageio.plugins.jpeg.MarkerSegment com.sun.imageio.plugins.jpeg.MarkerSegment
StackMap stack: java.lang.CloneNotSupportedException
3: pop
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
ifnull 6
5: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
6: StackMap locals:
StackMap stack:
aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
1 7 1 newGuy Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
Exception table:
from to target type
1 2 3 Class java.lang.CloneNotSupportedException
void loadData(com.sun.imageio.plugins.jpeg.JPEGBuffer);
descriptor: (Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
newarray 8
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
1: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
invokevirtual com.sun.imageio.plugins.jpeg.JPEGBuffer.readData:([B)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 3 1 buffer Lcom/sun/imageio/plugins/jpeg/JPEGBuffer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
buffer
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 "unknown"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: aload 1
ldc "MarkerTag"
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.tag: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
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
invokevirtual javax.imageio.metadata.IIOMetadataNode.setUserObject:(Ljava/lang/Object;)V
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
1 4 1 node Ljavax/imageio/metadata/IIOMetadataNode;
static int getAttributeValue(Node, NamedNodeMap, java.lang.String, int, int, boolean);
descriptor: (LNode;LNamedNodeMap;Ljava/lang/String;IIZ)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=6, args_size=6
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tNode cannot be resolved to a type\n\tNamedNodeMap cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.imageio.metadata.IIOInvalidTreeException
MethodParameters:
Name Flags
node
attrs
name
min
max
required
void writeTag(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
sipush 255
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
1: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.tag:I
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
2: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
invokestatic com.sun.imageio.plugins.jpeg.MarkerSegment.write2bytes:(Ljavax/imageio/stream/ImageOutputStream;I)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 4 1 ios Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
void write(javax.imageio.stream.ImageOutputStream);
descriptor: (Ljavax/imageio/stream/ImageOutputStream;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_2
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
ifnull 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
arraylength
goto 2
StackMap locals: com.sun.imageio.plugins.jpeg.MarkerSegment javax.imageio.stream.ImageOutputStream
StackMap stack: com.sun.imageio.plugins.jpeg.MarkerSegment int
1: iconst_0
StackMap locals: com.sun.imageio.plugins.jpeg.MarkerSegment javax.imageio.stream.ImageOutputStream
StackMap stack: com.sun.imageio.plugins.jpeg.MarkerSegment int int
2: iadd
putfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
3: aload 0
aload 1
invokevirtual com.sun.imageio.plugins.jpeg.MarkerSegment.writeTag:(Ljavax/imageio/stream/ImageOutputStream;)V
4: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
ifnull 6
5: aload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
invokeinterface javax.imageio.stream.ImageOutputStream.write:([B)V
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 7 1 ios Ljavax/imageio/stream/ImageOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
static void write2bytes(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: aload 0
iload 1
bipush 8
ishr
sipush 255
iand
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
1: aload 0
iload 1
sipush 255
iand
invokeinterface javax.imageio.stream.ImageOutputStream.write:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ios Ljavax/imageio/stream/ImageOutputStream;
0 3 1 value I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
ios
value
void printTag(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
aload 1
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " marker segment - marker = 0x"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
1: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.tag:I
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
3: getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc "length: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
0 5 1 prefix Ljava/lang/String;
MethodParameters:
Name Flags
prefix
void print();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
ldc "Unknown"
invokevirtual com.sun.imageio.plugins.jpeg.MarkerSegment.printTag:(Ljava/lang/String;)V
1: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.length:I
bipush 10
if_icmple 19
2: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "First 5 bytes:"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
3: iconst_0
istore 1
start local 1 4: goto 9
5: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Ox"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
6: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
iload 1
baload
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
8: iinc 1 1
StackMap locals:
StackMap stack:
9: iload 1
iconst_5
if_icmplt 5
end local 1 10: getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "\nLast 5 bytes:"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
11: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
arraylength
iconst_5
isub
istore 1
start local 1 12: goto 17
13: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Ox"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
14: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
iload 1
baload
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
15: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
16: iinc 1 1
StackMap locals:
StackMap stack:
17: iload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
arraylength
if_icmplt 13
end local 1 18: goto 27
19: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
ldc "Data:"
invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
20: iconst_0
istore 1
start local 1 21: goto 26
22: StackMap locals: int
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
new java.lang.StringBuilder
dup
ldc " Ox"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
23: aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
iload 1
baload
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
24: invokevirtual java.io.PrintStream.print:(Ljava/lang/String;)V
25: iinc 1 1
StackMap locals:
StackMap stack:
26: iload 1
aload 0
getfield com.sun.imageio.plugins.jpeg.MarkerSegment.data:[B
arraylength
if_icmplt 22
end local 1 27: StackMap locals:
StackMap stack:
getstatic java.lang.System.out:Ljava/io/PrintStream;
invokevirtual java.io.PrintStream.println:()V
28: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lcom/sun/imageio/plugins/jpeg/MarkerSegment;
4 10 1 i I
12 18 1 i I
21 27 1 i I
}
SourceFile: "MarkerSegment.java"