public class javax.imageio.ImageReadParam extends javax.imageio.IIOParam
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.imageio.ImageReadParam
super_class: javax.imageio.IIOParam
{
protected boolean canSetSourceRenderSize;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected java.awt.Dimension sourceRenderSize;
descriptor: Ljava/awt/Dimension;
flags: (0x0004) ACC_PROTECTED
protected java.awt.image.BufferedImage destination;
descriptor: Ljava/awt/image/BufferedImage;
flags: (0x0004) ACC_PROTECTED
protected int[] destinationBands;
descriptor: [I
flags: (0x0004) ACC_PROTECTED
protected int minProgressivePass;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int numProgressivePasses;
descriptor: I
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.imageio.IIOParam.<init>:()V
1: aload 0
iconst_0
putfield javax.imageio.ImageReadParam.canSetSourceRenderSize:Z
2: aload 0
aconst_null
putfield javax.imageio.ImageReadParam.sourceRenderSize:Ljava/awt/Dimension;
3: aload 0
aconst_null
putfield javax.imageio.ImageReadParam.destination:Ljava/awt/image/BufferedImage;
4: aload 0
aconst_null
putfield javax.imageio.ImageReadParam.destinationBands:[I
5: aload 0
iconst_0
putfield javax.imageio.ImageReadParam.minProgressivePass:I
6: aload 0
ldc 2147483647
putfield javax.imageio.ImageReadParam.numProgressivePasses:I
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/ImageReadParam;
public void setDestinationType(javax.imageio.ImageTypeSpecifier);
descriptor: (Ljavax/imageio/ImageTypeSpecifier;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.imageio.IIOParam.setDestinationType:(Ljavax/imageio/ImageTypeSpecifier;)V
1: aload 0
aconst_null
invokevirtual javax.imageio.ImageReadParam.setDestination:(Ljava/awt/image/BufferedImage;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/ImageReadParam;
0 3 1 destinationType Ljavax/imageio/ImageTypeSpecifier;
MethodParameters:
Name Flags
destinationType
public void setDestination(java.awt.image.BufferedImage);
descriptor: (Ljava/awt/image/BufferedImage;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield javax.imageio.ImageReadParam.destination:Ljava/awt/image/BufferedImage;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/ImageReadParam;
0 2 1 destination Ljava/awt/image/BufferedImage;
MethodParameters:
Name Flags
destination
public java.awt.image.BufferedImage getDestination();
descriptor: ()Ljava/awt/image/BufferedImage;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.destination:Ljava/awt/image/BufferedImage;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageReadParam;
public void setDestinationBands(int[]);
descriptor: ([I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
aconst_null
putfield javax.imageio.ImageReadParam.destinationBands:[I
2: goto 18
3: StackMap locals:
StackMap stack:
aload 1
arraylength
istore 2
start local 2 4: iconst_0
istore 3
start local 3 5: goto 16
6: StackMap locals: int int
StackMap stack:
aload 1
iload 3
iaload
istore 4
start local 4 7: iload 4
ifge 9
8: new java.lang.IllegalArgumentException
dup
ldc "Band value < 0!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals: int
StackMap stack:
iload 3
iconst_1
iadd
istore 5
start local 5 10: goto 14
11: StackMap locals: int
StackMap stack:
iload 4
aload 1
iload 5
iaload
if_icmpne 13
12: new java.lang.IllegalArgumentException
dup
ldc "Duplicate band value!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
iload 2
if_icmplt 11
end local 5 end local 4 15: iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 2
if_icmplt 6
end local 3 17: aload 0
aload 1
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
putfield javax.imageio.ImageReadParam.destinationBands:[I
end local 2 18: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/imageio/ImageReadParam;
0 19 1 destinationBands [I
4 18 2 numBands I
5 17 3 i I
7 15 4 band I
10 15 5 j I
MethodParameters:
Name Flags
destinationBands
public int[] getDestinationBands();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.destinationBands:[I
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.ImageReadParam.destinationBands:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/ImageReadParam;
public boolean canSetSourceRenderSize();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.canSetSourceRenderSize:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageReadParam;
public void setSourceRenderSize(java.awt.Dimension);
descriptor: (Ljava/awt/Dimension;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual javax.imageio.ImageReadParam.canSetSourceRenderSize:()Z
ifne 4
1: new java.lang.UnsupportedOperationException
dup
2: ldc "Can't set source render size!"
3: invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ifnonnull 7
5: aload 0
aconst_null
putfield javax.imageio.ImageReadParam.sourceRenderSize:Ljava/awt/Dimension;
6: goto 10
7: StackMap locals:
StackMap stack:
aload 1
getfield java.awt.Dimension.width:I
ifle 8
aload 1
getfield java.awt.Dimension.height:I
ifgt 9
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "width or height <= 0!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual java.awt.Dimension.clone:()Ljava/lang/Object;
checkcast java.awt.Dimension
putfield javax.imageio.ImageReadParam.sourceRenderSize:Ljava/awt/Dimension;
10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/imageio/ImageReadParam;
0 11 1 size Ljava/awt/Dimension;
Exceptions:
throws java.lang.UnsupportedOperationException
MethodParameters:
Name Flags
size
public java.awt.Dimension getSourceRenderSize();
descriptor: ()Ljava/awt/Dimension;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.sourceRenderSize:Ljava/awt/Dimension;
ifnonnull 2
1: aconst_null
goto 3
StackMap locals:
StackMap stack:
2: aload 0
getfield javax.imageio.ImageReadParam.sourceRenderSize:Ljava/awt/Dimension;
invokevirtual java.awt.Dimension.clone:()Ljava/lang/Object;
checkcast java.awt.Dimension
3: StackMap locals:
StackMap stack: java.awt.Dimension
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljavax/imageio/ImageReadParam;
public void setSourceProgressivePasses(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifge 2
1: new java.lang.IllegalArgumentException
dup
ldc "minPass < 0!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifgt 4
3: new java.lang.IllegalArgumentException
dup
ldc "numPasses <= 0!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
ldc 2147483647
if_icmpeq 9
5: iload 1
iload 2
iadd
iconst_1
isub
ldc -2147483648
iand
ifeq 9
6: new java.lang.IllegalArgumentException
dup
7: ldc "minPass + numPasses - 1 > INTEGER.MAX_VALUE!"
8: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.imageio.ImageReadParam.minProgressivePass:I
10: aload 0
iload 2
putfield javax.imageio.ImageReadParam.numProgressivePasses:I
11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/imageio/ImageReadParam;
0 12 1 minPass I
0 12 2 numPasses I
MethodParameters:
Name Flags
minPass
numPasses
public int getSourceMinProgressivePass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.minProgressivePass:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageReadParam;
public int getSourceMaxProgressivePass();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.numProgressivePasses:I
ldc 2147483647
if_icmpne 2
1: ldc 2147483647
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.ImageReadParam.minProgressivePass:I
aload 0
getfield javax.imageio.ImageReadParam.numProgressivePasses:I
iadd
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/ImageReadParam;
public int getSourceNumProgressivePasses();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.imageio.ImageReadParam.numProgressivePasses:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/ImageReadParam;
}
SourceFile: "ImageReadParam.java"