class sun.print.CustomMediaSizeName extends javax.print.attribute.standard.MediaSizeName
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.print.CustomMediaSizeName
super_class: javax.print.attribute.standard.MediaSizeName
{
private static java.util.ArrayList customStringTable;
descriptor: Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static java.util.ArrayList ;
descriptor: Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private java.lang.String choiceName;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.MediaSizeName mediaName;
descriptor: Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7412807582228043717
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.print.CustomMediaSizeName.customStringTable:Ljava/util/ArrayList;
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putstatic sun.print.CustomMediaSizeName.customEnumTable:Ljava/util/ArrayList;
2: return
LocalVariableTable:
Start End Slot Name Signature
private void <init>(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokespecial javax.print.attribute.standard.MediaSizeName.<init>:(I)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/CustomMediaSizeName;
0 2 1 x I
MethodParameters:
Name Flags
x
private static synchronized int nextValue(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x002a) ACC_PRIVATE, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic sun.print.CustomMediaSizeName.customStringTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
1: getstatic sun.print.CustomMediaSizeName.customStringTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic sun.print.CustomMediaSizeName.nextValue:(Ljava/lang/String;)I
invokespecial javax.print.attribute.standard.MediaSizeName.<init>:(I)V
1: getstatic sun.print.CustomMediaSizeName.customEnumTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
2: aload 0
aconst_null
putfield sun.print.CustomMediaSizeName.choiceName:Ljava/lang/String;
3: aload 0
aconst_null
putfield sun.print.CustomMediaSizeName.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/CustomMediaSizeName;
0 5 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, java.lang.String, float, float);
descriptor: (Ljava/lang/String;Ljava/lang/String;FF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
invokestatic sun.print.CustomMediaSizeName.nextValue:(Ljava/lang/String;)I
invokespecial javax.print.attribute.standard.MediaSizeName.<init>:(I)V
1: aload 0
aload 2
putfield sun.print.CustomMediaSizeName.choiceName:Ljava/lang/String;
2: getstatic sun.print.CustomMediaSizeName.customEnumTable:Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
3: aload 0
aconst_null
putfield sun.print.CustomMediaSizeName.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
4: aload 0
fload 3
fload 4
5: sipush 25400
6: invokestatic javax.print.attribute.standard.MediaSize.findMedia:(FFI)Ljavax/print/attribute/standard/MediaSizeName;
putfield sun.print.CustomMediaSizeName.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
7: goto 9
StackMap locals: sun.print.CustomMediaSizeName java.lang.String java.lang.String float float
StackMap stack: java.lang.IllegalArgumentException
8: pop
9: 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 10 0 this Lsun/print/CustomMediaSizeName;
0 10 1 name Ljava/lang/String;
0 10 2 choice Ljava/lang/String;
0 10 3 width F
0 10 4 length F
Exception table:
from to target type
4 7 8 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
name
choice
width
length
public java.lang.String getChoiceName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.CustomMediaSizeName.choiceName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/CustomMediaSizeName;
public javax.print.attribute.standard.MediaSizeName getStandardMedia();
descriptor: ()Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.CustomMediaSizeName.mediaName:Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/CustomMediaSizeName;
public static javax.print.attribute.standard.MediaSizeName findMedia(javax.print.attribute.standard.Media[], float, float, int);
descriptor: ([Ljavax/print/attribute/standard/Media;FFI)Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: fload 1
fconst_0
fcmpg
ifle 1
fload 2
fconst_0
fcmpg
ifle 1
iload 3
iconst_1
if_icmpge 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "args must be +ve values"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ifnull 3
aload 0
arraylength
ifne 4
3: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "args must have valid array of media"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 5: aload 0
arraylength
anewarray javax.print.attribute.standard.MediaSizeName
astore 5
start local 5 6: iconst_0
istore 6
start local 6 7: goto 11
8: StackMap locals: int javax.print.attribute.standard.MediaSizeName[] int
StackMap stack:
aload 0
iload 6
aaload
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 10
9: aload 5
iload 4
iinc 4 1
aload 0
iload 6
aaload
checkcast javax.print.attribute.standard.MediaSizeName
aastore
10: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
11: iload 6
aload 0
arraylength
if_icmplt 8
end local 6 12: iload 4
ifne 14
13: aconst_null
areturn
14: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 15: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
f2d
dstore 7
start local 7 16: fload 1
fstore 12
start local 12 17: fload 2
fstore 13
start local 13 18: iconst_0
istore 14
start local 14 19: goto 34
20: StackMap locals: javax.print.attribute.standard.Media[] float float int int javax.print.attribute.standard.MediaSizeName[] int double top top top float float int
StackMap stack:
aload 5
iload 14
aaload
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 15
start local 15 21: aload 15
ifnonnull 23
22: goto 33
23: StackMap locals: javax.print.attribute.standard.MediaSize
StackMap stack:
aload 15
iload 3
invokevirtual javax.print.attribute.standard.MediaSize.getSize:(I)[F
astore 11
start local 11 24: fload 1
aload 11
iconst_0
faload
fcmpl
ifne 27
fload 2
aload 11
iconst_1
faload
fcmpl
ifne 27
25: iload 14
istore 6
26: goto 35
27: StackMap locals: javax.print.attribute.standard.Media[] float float int int javax.print.attribute.standard.MediaSizeName[] int double top top float[] float float int javax.print.attribute.standard.MediaSize
StackMap stack:
fload 1
aload 11
iconst_0
faload
fsub
fstore 12
28: fload 2
aload 11
iconst_1
faload
fsub
fstore 13
29: fload 12
fload 12
fmul
fload 13
fload 13
fmul
fadd
f2d
dstore 9
start local 9 30: dload 9
dload 7
dcmpg
ifge 33
31: dload 9
dstore 7
32: iload 14
istore 6
end local 15 end local 11 end local 9 33: StackMap locals: javax.print.attribute.standard.Media[] float float int int javax.print.attribute.standard.MediaSizeName[] int double top top top float float int
StackMap stack:
iinc 14 1
StackMap locals:
StackMap stack:
34: iload 14
iload 4
if_icmplt 20
end local 14 35: StackMap locals:
StackMap stack:
aload 5
iload 6
aaload
areturn
end local 13 end local 12 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 media [Ljavax/print/attribute/standard/Media;
0 36 1 x F
0 36 2 y F
0 36 3 units I
5 36 4 size I
6 36 5 msn [Ljavax/print/attribute/standard/MediaSizeName;
7 12 6 i I
15 36 6 match I
16 36 7 ls D
30 33 9 tmp_ls D
24 33 11 dim [F
17 36 12 diffx F
18 36 13 diffy F
19 35 14 i I
21 33 15 mediaSize Ljavax/print/attribute/standard/MediaSize;
MethodParameters:
Name Flags
media
x
y
units
public javax.print.attribute.standard.Media[] getSuperEnumTable();
descriptor: ()[Ljavax/print/attribute/standard/Media;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial javax.print.attribute.standard.MediaSizeName.getEnumValueTable:()[Ljavax/print/attribute/EnumSyntax;
checkcast javax.print.attribute.standard.Media[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/CustomMediaSizeName;
protected java.lang.String[] getStringTable();
descriptor: ()[Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.print.CustomMediaSizeName.customStringTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
astore 1
start local 1 1: getstatic sun.print.CustomMediaSizeName.customStringTable:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/CustomMediaSizeName;
1 2 1 nameTable [Ljava/lang/String;
protected javax.print.attribute.EnumSyntax[] getEnumValueTable();
descriptor: ()[Ljavax/print/attribute/EnumSyntax;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=1
start local 0 0: getstatic sun.print.CustomMediaSizeName.customEnumTable:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSizeName
astore 1
start local 1 1: getstatic sun.print.CustomMediaSizeName.customEnumTable:Ljava/util/ArrayList;
aload 1
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/CustomMediaSizeName;
1 2 1 enumTable [Ljavax/print/attribute/standard/MediaSizeName;
}
SourceFile: "CustomMediaSizeName.java"