public class com.sun.imageio.plugins.bmp.BMPMetadata extends javax.imageio.metadata.IIOMetadata implements com.sun.imageio.plugins.bmp.BMPConstants
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.imageio.plugins.bmp.BMPMetadata
super_class: javax.imageio.metadata.IIOMetadata
{
public static final java.lang.String nativeMetadataFormatName;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "javax_imageio_bmp_1.0"
public java.lang.String bmpVersion;
descriptor: Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
public int width;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int height;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public short bitsPerPixel;
descriptor: S
flags: (0x0001) ACC_PUBLIC
public int compression;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int imageSize;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int xPixelsPerMeter;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int yPixelsPerMeter;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int colorsUsed;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int colorsImportant;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int redMask;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int greenMask;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int blueMask;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int alphaMask;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int colorSpace;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public double redX;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double redY;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double redZ;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double greenX;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double greenY;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double greenZ;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double blueX;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double blueY;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public double blueZ;
descriptor: D
flags: (0x0001) ACC_PUBLIC
public int gammaRed;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int gammaGreen;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int gammaBlue;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int intent;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public byte[] palette;
descriptor: [B
flags: (0x0001) ACC_PUBLIC
public int paletteSize;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int red;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int green;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public int blue;
descriptor: I
flags: (0x0001) ACC_PUBLIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
1: ldc "javax_imageio_bmp_1.0"
2: ldc "com.sun.imageio.plugins.bmp.BMPMetadataFormat"
3: aconst_null
aconst_null
invokespecial javax.imageio.metadata.IIOMetadata.<init>:(ZLjava/lang/String;Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)V
4: aload 0
aconst_null
putfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
public boolean isReadOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
public org.w3c.dom.Node getAsTree(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/w3c/dom/Node;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc "javax_imageio_bmp_1.0"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.getNativeTree:()Lorg/w3c/dom/Node;
areturn
2: StackMap locals:
StackMap stack:
aload 1
3: ldc "javax_imageio_1.0"
4: invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
5: ifeq 7
6: aload 0
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.getStandardTree:()Ljavax/imageio/metadata/IIOMetadataNode;
areturn
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "BMPMetadata0"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 8 1 formatName Ljava/lang/String;
MethodParameters:
Name Flags
formatName
private java.lang.String toISO8859(byte[]);
descriptor: ([B)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.String
dup
aload 1
ldc "ISO-8859-1"
invokespecial java.lang.String.<init>:([BLjava/lang/String;)V
1: areturn
2: StackMap locals:
StackMap stack: java.io.UnsupportedEncodingException
pop
3: ldc ""
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 4 1 data [B
Exception table:
from to target type
0 1 2 Class java.io.UnsupportedEncodingException
MethodParameters:
Name Flags
data
private org.w3c.dom.Node getNativeTree();
descriptor: ()Lorg/w3c/dom/Node;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=8, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "javax_imageio_bmp_1.0"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
1: astore 1
start local 1 2: aload 0
aload 1
ldc "BMPVersion"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bmpVersion:Ljava/lang/String;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
3: aload 0
aload 1
ldc "Width"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.width:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
4: aload 0
aload 1
ldc "Height"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.height:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
5: aload 0
aload 1
ldc "BitsPerPixel"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bitsPerPixel:S
invokestatic java.lang.Short.valueOf:(S)Ljava/lang/Short;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
6: aload 0
aload 1
ldc "Compression"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.compression:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
7: aload 0
aload 1
ldc "ImageSize"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.imageSize:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
8: aload 0
aload 1
ldc "PixelsPerMeter"
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 2
start local 2 9: aload 0
aload 2
ldc "X"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.xPixelsPerMeter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
10: aload 0
aload 2
ldc "Y"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.yPixelsPerMeter:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
11: aload 0
aload 1
ldc "ColorsUsed"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.colorsUsed:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
12: aload 0
aload 1
ldc "ColorsImportant"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.colorsImportant:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
13: iconst_0
istore 3
start local 3 14: iconst_0
istore 4
start local 4 15: goto 19
16: StackMap locals: com.sun.imageio.plugins.bmp.BMPMetadata javax.imageio.metadata.IIOMetadataNode javax.imageio.metadata.IIOMetadataNode int int
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bmpVersion:Ljava/lang/String;
iload 4
invokevirtual java.lang.String.charAt:(I)C
invokestatic java.lang.Character.isDigit:(C)Z
ifeq 18
17: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bmpVersion:Ljava/lang/String;
iload 4
invokevirtual java.lang.String.charAt:(I)C
bipush 48
isub
istore 3
18: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
19: iload 4
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bmpVersion:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
if_icmplt 16
end local 4 20: iload 3
iconst_4
if_icmplt 32
21: aload 0
aload 1
ldc "Mask"
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 2
22: aload 0
aload 2
ldc "Red"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.redMask:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
23: aload 0
aload 2
ldc "Green"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.greenMask:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
24: aload 0
aload 2
ldc "Blue"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blueMask:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
25: aload 0
aload 2
ldc "Alpha"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.alphaMask:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
26: aload 0
aload 1
ldc "ColorSpaceType"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.colorSpace:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
27: aload 0
aload 1
ldc "CIEXYZEndPoints"
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 2
28: aload 0
aload 2
ldc "Red"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.redX:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.redY:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.redZ:D
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addXYZPoints:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;DDD)V
29: aload 0
aload 2
ldc "Green"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.greenX:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.greenY:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.greenZ:D
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addXYZPoints:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;DDD)V
30: aload 0
aload 2
ldc "Blue"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blueX:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blueY:D
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blueZ:D
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addXYZPoints:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;DDD)V
31: aload 0
aload 1
ldc "Intent"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.intent:I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 2
32: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
ifnull 52
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
ifle 52
33: aload 0
aload 1
ldc "Palette"
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 2
34: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
arraylength
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
idiv
istore 4
start local 4 35: iconst_0
istore 5
start local 5 36: iconst_0
istore 6
start local 6 37: goto 51
38: StackMap locals: int int int
StackMap stack:
aload 0
aload 2
ldc "PaletteEntry"
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
39: astore 7
start local 7 40: aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 6
iinc 6 1
baload
sipush 255
iand
putfield com.sun.imageio.plugins.bmp.BMPMetadata.red:I
41: aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 6
iinc 6 1
baload
sipush 255
iand
putfield com.sun.imageio.plugins.bmp.BMPMetadata.green:I
42: aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 6
iinc 6 1
baload
sipush 255
iand
putfield com.sun.imageio.plugins.bmp.BMPMetadata.blue:I
43: aload 0
aload 7
ldc "Red"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.red:I
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
44: aload 0
aload 7
ldc "Green"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.green:I
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
45: aload 0
aload 7
ldc "Blue"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blue:I
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
46: iload 4
iconst_4
if_icmpne 50
47: aload 0
aload 7
ldc "Alpha"
48: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 6
iinc 6 1
baload
sipush 255
iand
i2b
invokestatic java.lang.Byte.valueOf:(B)Ljava/lang/Byte;
49: invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
end local 7 50: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
51: iload 5
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
if_icmplt 38
end local 6 end local 5 end local 4 52: StackMap locals:
StackMap stack:
aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 53 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
2 53 1 root Ljavax/imageio/metadata/IIOMetadataNode;
9 53 2 node Ljavax/imageio/metadata/IIOMetadataNode;
14 53 3 version I
15 20 4 i I
35 52 4 numComps I
36 52 5 i I
37 52 6 j I
40 50 7 entry Ljavax/imageio/metadata/IIOMetadataNode;
protected javax.imageio.metadata.IIOMetadataNode getStandardChromaNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
ifnull 20
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
ifle 20
1: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "Chroma"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "Palette"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 2
start local 2 3: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
arraylength
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
idiv
istore 3
start local 3 4: aload 2
ldc "value"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 3
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
5: iconst_0
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 17
8: StackMap locals: com.sun.imageio.plugins.bmp.BMPMetadata javax.imageio.metadata.IIOMetadataNode javax.imageio.metadata.IIOMetadataNode int int int
StackMap stack:
new javax.imageio.metadata.IIOMetadataNode
dup
ldc "PaletteEntry"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 6
start local 6 9: aload 6
ldc "index"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 4
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 6
ldc "red"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 5
iinc 5 1
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 6
ldc "green"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 5
iinc 5 1
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
12: aload 6
ldc "blue"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 5
iinc 5 1
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
13: iload 3
iconst_4
if_icmpne 15
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 5
baload
ifeq 15
14: aload 6
ldc "alpha"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.palette:[B
iload 5
iinc 5 1
baload
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
15: StackMap locals: javax.imageio.metadata.IIOMetadataNode
StackMap stack:
aload 2
aload 6
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
end local 6 16: iinc 4 1
StackMap locals:
StackMap stack:
17: iload 4
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.paletteSize:I
if_icmplt 8
end local 5 end local 4 18: aload 1
aload 2
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
19: aload 1
areturn
end local 3 end local 2 end local 1 20: StackMap locals: com.sun.imageio.plugins.bmp.BMPMetadata
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
2 20 1 node Ljavax/imageio/metadata/IIOMetadataNode;
3 20 2 subNode Ljavax/imageio/metadata/IIOMetadataNode;
4 20 3 numComps I
6 18 4 i I
7 18 5 j I
9 16 6 subNode1 Ljavax/imageio/metadata/IIOMetadataNode;
protected javax.imageio.metadata.IIOMetadataNode getStandardCompressionNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "Compression"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "CompressionTypeName"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 2
start local 2 2: aload 2
ldc "value"
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.compression:I
invokestatic com.sun.imageio.plugins.bmp.BMPCompressionTypes.getName:(I)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
3: aload 1
aload 2
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
4: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
1 5 1 node Ljavax/imageio/metadata/IIOMetadataNode;
2 5 2 subNode Ljavax/imageio/metadata/IIOMetadataNode;
protected javax.imageio.metadata.IIOMetadataNode getStandardDataNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=4, args_size=1
start local 0 0: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "Data"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 1: ldc ""
astore 2
start local 2 2: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bitsPerPixel:S
bipush 24
if_icmpne 4
3: ldc "8 8 8 "
astore 2
goto 8
4: StackMap locals: javax.imageio.metadata.IIOMetadataNode java.lang.String
StackMap stack:
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bitsPerPixel:S
bipush 16
if_icmpeq 5
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.bitsPerPixel:S
bipush 32
if_icmpne 8
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.redMask:I
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.countBits:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc " "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.greenMask:I
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.countBits:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.blueMask:I
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.countBits:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.alphaMask:I
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.countBits:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
8: StackMap locals:
StackMap stack:
new javax.imageio.metadata.IIOMetadataNode
dup
ldc "BitsPerSample"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 3
start local 3 9: aload 3
ldc "value"
aload 2
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
10: aload 1
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
11: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
1 12 1 node Ljavax/imageio/metadata/IIOMetadataNode;
2 12 2 bits Ljava/lang/String;
9 12 3 subNode Ljavax/imageio/metadata/IIOMetadataNode;
protected javax.imageio.metadata.IIOMetadataNode getStandardDimensionNode();
descriptor: ()Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=1
start local 0 0: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.yPixelsPerMeter:I
i2f
fconst_0
fcmpl
ifle 13
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.xPixelsPerMeter:I
i2f
fconst_0
fcmpl
ifle 13
1: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "Dimension"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 1
start local 1 2: aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.yPixelsPerMeter:I
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.xPixelsPerMeter:I
idiv
i2f
fstore 2
start local 2 3: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "PixelAspectRatio"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 3
start local 3 4: aload 3
ldc "value"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
fload 2
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 1
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
6: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "HorizontalPhysicalPixelSpacing"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 3
7: aload 3
ldc "value"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
ldc 1000.0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.xPixelsPerMeter:I
i2f
fdiv
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
8: aload 1
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
9: new javax.imageio.metadata.IIOMetadataNode
dup
ldc "VerticalPhysicalPixelSpacing"
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 3
10: aload 3
ldc "value"
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
ldc 1000.0
aload 0
getfield com.sun.imageio.plugins.bmp.BMPMetadata.yPixelsPerMeter:I
i2f
fdiv
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
11: aload 1
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
12: aload 1
areturn
end local 3 end local 2 end local 1 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
2 13 1 node Ljavax/imageio/metadata/IIOMetadataNode;
3 13 2 ratio F
4 13 3 subNode Ljavax/imageio/metadata/IIOMetadataNode;
public void setFromTree(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.IllegalStateException
dup
ldc "BMPMetadata1"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 1 1 formatName Ljava/lang/String;
0 1 2 root Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
formatName
root
public void mergeTree(java.lang.String, org.w3c.dom.Node);
descriptor: (Ljava/lang/String;Lorg/w3c/dom/Node;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.IllegalStateException
dup
ldc "BMPMetadata1"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 1 1 formatName Ljava/lang/String;
0 1 2 root Lorg/w3c/dom/Node;
MethodParameters:
Name Flags
formatName
root
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.IllegalStateException
dup
ldc "BMPMetadata1"
invokestatic com.sun.imageio.plugins.common.I18N.getString:(Ljava/lang/String;)Ljava/lang/String;
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
private java.lang.String countBits(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
iload 1
iconst_1
iand
iconst_1
if_icmpne 4
3: iinc 2 1
4: StackMap locals:
StackMap stack:
iload 1
iconst_1
iushr
istore 1
5: StackMap locals:
StackMap stack:
iload 1
ifgt 2
6: iload 2
ifne 7
ldc ""
goto 8
StackMap locals:
StackMap stack:
7: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
8: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 9 1 num I
1 9 2 count I
MethodParameters:
Name Flags
num
private void addXYZPoints(javax.imageio.metadata.IIOMetadataNode, java.lang.String, double, double, double);
descriptor: (Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;DDD)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 7 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
astore 9
start local 9 1: aload 0
aload 9
ldc "X"
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
2: aload 0
aload 9
ldc "Y"
dload 5
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
3: aload 0
aload 9
ldc "Z"
dload 7
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokevirtual com.sun.imageio.plugins.bmp.BMPMetadata.addChildNode:(Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
pop
4: return
end local 9 end local 7 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 5 1 root Ljavax/imageio/metadata/IIOMetadataNode;
0 5 2 name Ljava/lang/String;
0 5 3 x D
0 5 5 y D
0 5 7 z D
1 5 9 node Ljavax/imageio/metadata/IIOMetadataNode;
MethodParameters:
Name Flags
root
name
x
y
z
private javax.imageio.metadata.IIOMetadataNode addChildNode(javax.imageio.metadata.IIOMetadataNode, java.lang.String, java.lang.Object);
descriptor: (Ljavax/imageio/metadata/IIOMetadataNode;Ljava/lang/String;Ljava/lang/Object;)Ljavax/imageio/metadata/IIOMetadataNode;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new javax.imageio.metadata.IIOMetadataNode
dup
aload 2
invokespecial javax.imageio.metadata.IIOMetadataNode.<init>:(Ljava/lang/String;)V
astore 4
start local 4 1: aload 3
ifnull 4
2: aload 4
aload 3
invokevirtual javax.imageio.metadata.IIOMetadataNode.setUserObject:(Ljava/lang/Object;)V
3: aload 4
aload 3
invokestatic com.sun.imageio.plugins.common.ImageUtil.convertObjectToString:(Ljava/lang/Object;)Ljava/lang/String;
invokevirtual javax.imageio.metadata.IIOMetadataNode.setNodeValue:(Ljava/lang/String;)V
4: StackMap locals: javax.imageio.metadata.IIOMetadataNode
StackMap stack:
aload 1
aload 4
invokevirtual javax.imageio.metadata.IIOMetadataNode.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
5: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/imageio/plugins/bmp/BMPMetadata;
0 6 1 root Ljavax/imageio/metadata/IIOMetadataNode;
0 6 2 name Ljava/lang/String;
0 6 3 object Ljava/lang/Object;
1 6 4 child Ljavax/imageio/metadata/IIOMetadataNode;
MethodParameters:
Name Flags
root
name
object
}
SourceFile: "BMPMetadata.java"