public class sun.print.Win32PrintService implements javax.print.PrintService, sun.print.AttributeUpdater, sun.print.SunPrinterJobService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.Win32PrintService
super_class: java.lang.Object
{
public static javax.print.attribute.standard.MediaSize[] predefMedia;
descriptor: [Ljavax/print/attribute/standard/MediaSize;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
private static final javax.print.DocFlavor[] supportedFlavors;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.Class<?>[] serviceAttrCats;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static java.lang.Class<?>[] otherAttrCats;
descriptor: [Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: [Ljava/lang/Class<*>;
public static final javax.print.attribute.standard.MediaSizeName[] dmPaperToPrintService;
descriptor: [Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
private static final javax.print.attribute.standard.MediaTray[] dmPaperBinToPrintService;
descriptor: [Ljavax/print/attribute/standard/MediaTray;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static int DM_PAPERSIZE;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int DM_PRINTQUALITY;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static int DM_YRESOLUTION;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final int DMRES_MEDIUM;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3
private static final int DMRES_HIGH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4
private static final int DMORIENT_LANDSCAPE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DMDUP_VERTICAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DMDUP_HORIZONTAL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int DMCOLLATE_TRUE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DMCOLOR_MONOCHROME;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DMCOLOR_COLOR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DMPAPER_A2;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 66
private static final int DMPAPER_A6;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 70
private static final int DMPAPER_B6_JIS;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 88
private static final int DEVCAP_COLOR;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int DEVCAP_DUPLEX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int DEVCAP_COLLATE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int DEVCAP_QUALITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8
private static final int DEVCAP_POSTSCRIPT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private java.lang.String printer;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.PrinterName name;
descriptor: Ljavax/print/attribute/standard/PrinterName;
flags: (0x0002) ACC_PRIVATE
private java.lang.String port;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private transient javax.print.attribute.PrintServiceAttributeSet lastSet;
descriptor: Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient sun.print.ServiceNotifier notifier;
descriptor: Lsun/print/ServiceNotifier;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private javax.print.attribute.standard.MediaSizeName[] mediaSizeNames;
descriptor: [Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.MediaPrintableArea[] mediaPrintables;
descriptor: [Ljavax/print/attribute/standard/MediaPrintableArea;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.MediaTray[] mediaTrays;
descriptor: [Ljavax/print/attribute/standard/MediaTray;
flags: (0x0002) ACC_PRIVATE
private javax.print.attribute.standard.PrinterResolution[] printRes;
descriptor: [Ljavax/print/attribute/standard/PrinterResolution;
flags: (0x0002) ACC_PRIVATE
private java.util.HashMap<javax.print.attribute.standard.MediaSizeName, javax.print.attribute.standard.MediaPrintableArea> mpaMap;
descriptor: Ljava/util/HashMap;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/HashMap<Ljavax/print/attribute/standard/MediaSizeName;Ljavax/print/attribute/standard/MediaPrintableArea;>;
private int nCopies;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int prnCaps;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int[] defaultSettings;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private boolean gotTrays;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean gotCopies;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean mediaInitialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean mpaListInitialized;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private java.util.ArrayList<java.lang.Integer> idList;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/ArrayList<Ljava/lang/Integer;>;
private javax.print.attribute.standard.MediaSize[] mediaSizes;
descriptor: [Ljavax/print/attribute/standard/MediaSize;
flags: (0x0002) ACC_PRIVATE
private boolean isInvalid;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private sun.print.Win32PrintService$Win32DocumentPropertiesUI docPropertiesUI;
descriptor: Lsun/print/Win32PrintService$Win32DocumentPropertiesUI;
flags: (0x0002) ACC_PRIVATE
private sun.print.Win32PrintService$Win32ServiceUIFactory uiFactory;
descriptor: Lsun/print/Win32PrintService$Win32ServiceUIFactory;
flags: (0x0002) ACC_PRIVATE
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: invokestatic sun.print.Win32MediaSize.getPredefMedia:()[Ljavax/print/attribute/standard/MediaSize;
putstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
1: bipush 14
anewarray javax.print.DocFlavor
dup
iconst_0
2: getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
3: getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
4: getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
aastore
dup
iconst_3
5: getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_4
6: getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_5
7: getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 6
8: getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 7
9: getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 8
10: getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 9
11: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 10
12: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 11
13: getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 12
14: getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 13
15: getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
16: putstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
17: iconst_4
anewarray java.lang.Class
dup
iconst_0
18: ldc Ljavax/print/attribute/standard/PrinterName;
aastore
dup
iconst_1
19: ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
aastore
dup
iconst_2
20: ldc Ljavax/print/attribute/standard/QueuedJobCount;
aastore
dup
iconst_3
21: ldc Ljavax/print/attribute/standard/ColorSupported;
aastore
22: putstatic sun.print.Win32PrintService.serviceAttrCats:[Ljava/lang/Class;
23: bipush 12
anewarray java.lang.Class
dup
iconst_0
24: ldc Ljavax/print/attribute/standard/JobName;
aastore
dup
iconst_1
25: ldc Ljavax/print/attribute/standard/RequestingUserName;
aastore
dup
iconst_2
26: ldc Ljavax/print/attribute/standard/Copies;
aastore
dup
iconst_3
27: ldc Ljavax/print/attribute/standard/Destination;
aastore
dup
iconst_4
28: ldc Ljavax/print/attribute/standard/OrientationRequested;
aastore
dup
iconst_5
29: ldc Ljavax/print/attribute/standard/PageRanges;
aastore
dup
bipush 6
30: ldc Ljavax/print/attribute/standard/Media;
aastore
dup
bipush 7
31: ldc Ljavax/print/attribute/standard/MediaPrintableArea;
aastore
dup
bipush 8
32: ldc Ljavax/print/attribute/standard/Fidelity;
aastore
dup
bipush 9
33: ldc Ljavax/print/attribute/standard/SheetCollate;
aastore
dup
bipush 10
34: ldc Lsun/print/SunAlternateMedia;
aastore
dup
bipush 11
35: ldc Ljavax/print/attribute/standard/Chromaticity;
aastore
36: putstatic sun.print.Win32PrintService.otherAttrCats:[Ljava/lang/Class;
37: bipush 44
anewarray javax.print.attribute.standard.MediaSizeName
dup
iconst_0
38: getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_1
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_2
39: getstatic javax.print.attribute.standard.MediaSizeName.TABLOID:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_3
getstatic javax.print.attribute.standard.MediaSizeName.LEDGER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_4
40: getstatic javax.print.attribute.standard.MediaSizeName.NA_LEGAL:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_5
getstatic javax.print.attribute.standard.MediaSizeName.INVOICE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 6
41: getstatic javax.print.attribute.standard.MediaSizeName.EXECUTIVE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 7
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A3:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 8
42: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 9
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 10
43: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 11
getstatic javax.print.attribute.standard.MediaSizeName.JIS_B4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 12
44: getstatic javax.print.attribute.standard.MediaSizeName.JIS_B5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 13
getstatic javax.print.attribute.standard.MediaSizeName.FOLIO:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 14
45: getstatic javax.print.attribute.standard.MediaSizeName.QUARTO:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 15
getstatic javax.print.attribute.standard.MediaSizeName.NA_10X14_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 16
46: getstatic javax.print.attribute.standard.MediaSizeName.B:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 17
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 18
47: getstatic javax.print.attribute.standard.MediaSizeName.NA_NUMBER_9_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 19
getstatic javax.print.attribute.standard.MediaSizeName.NA_NUMBER_10_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 20
48: getstatic javax.print.attribute.standard.MediaSizeName.NA_NUMBER_11_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 21
getstatic javax.print.attribute.standard.MediaSizeName.NA_NUMBER_12_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 22
49: getstatic javax.print.attribute.standard.MediaSizeName.NA_NUMBER_14_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 23
getstatic javax.print.attribute.standard.MediaSizeName.C:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 24
50: getstatic javax.print.attribute.standard.MediaSizeName.D:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 25
getstatic javax.print.attribute.standard.MediaSizeName.E:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 26
51: getstatic javax.print.attribute.standard.MediaSizeName.ISO_DESIGNATED_LONG:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 27
getstatic javax.print.attribute.standard.MediaSizeName.ISO_C5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 28
52: getstatic javax.print.attribute.standard.MediaSizeName.ISO_C3:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 29
getstatic javax.print.attribute.standard.MediaSizeName.ISO_C4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 30
53: getstatic javax.print.attribute.standard.MediaSizeName.ISO_C6:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 31
getstatic javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 32
54: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 33
getstatic javax.print.attribute.standard.MediaSizeName.ISO_B5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 34
55: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B6:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 35
getstatic javax.print.attribute.standard.MediaSizeName.ITALY_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 36
56: getstatic javax.print.attribute.standard.MediaSizeName.MONARCH_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 37
getstatic javax.print.attribute.standard.MediaSizeName.PERSONAL_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 38
57: getstatic javax.print.attribute.standard.MediaSizeName.NA_10X15_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 39
getstatic javax.print.attribute.standard.MediaSizeName.NA_9X12_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 40
58: getstatic javax.print.attribute.standard.MediaSizeName.FOLIO:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 41
getstatic javax.print.attribute.standard.MediaSizeName.ISO_B4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 42
59: getstatic javax.print.attribute.standard.MediaSizeName.JAPANESE_POSTCARD:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 43
getstatic javax.print.attribute.standard.MediaSizeName.NA_9X11_ENVELOPE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
60: putstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
61: bipush 15
anewarray javax.print.attribute.standard.MediaTray
dup
iconst_0
62: getstatic javax.print.attribute.standard.MediaTray.TOP:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
iconst_1
getstatic javax.print.attribute.standard.MediaTray.BOTTOM:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
iconst_2
getstatic javax.print.attribute.standard.MediaTray.MIDDLE:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
iconst_3
63: getstatic javax.print.attribute.standard.MediaTray.MANUAL:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
iconst_4
getstatic javax.print.attribute.standard.MediaTray.ENVELOPE:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
iconst_5
getstatic sun.print.Win32MediaTray.ENVELOPE_MANUAL:Lsun/print/Win32MediaTray;
aastore
dup
bipush 6
64: getstatic sun.print.Win32MediaTray.AUTO:Lsun/print/Win32MediaTray;
aastore
dup
bipush 7
getstatic sun.print.Win32MediaTray.TRACTOR:Lsun/print/Win32MediaTray;
aastore
dup
bipush 8
65: getstatic sun.print.Win32MediaTray.SMALL_FORMAT:Lsun/print/Win32MediaTray;
aastore
dup
bipush 9
getstatic sun.print.Win32MediaTray.LARGE_FORMAT:Lsun/print/Win32MediaTray;
aastore
dup
bipush 10
66: getstatic javax.print.attribute.standard.MediaTray.LARGE_CAPACITY:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
bipush 13
67: getstatic javax.print.attribute.standard.MediaTray.MAIN:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
bipush 14
getstatic sun.print.Win32MediaTray.FORMSOURCE:Lsun/print/Win32MediaTray;
aastore
68: putstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
69: iconst_2
putstatic sun.print.Win32PrintService.DM_PAPERSIZE:I
70: sipush 1024
putstatic sun.print.Win32PrintService.DM_PRINTQUALITY:I
71: sipush 8192
putstatic sun.print.Win32PrintService.DM_YRESOLUTION:I
72: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, 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 sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
2: aload 0
aconst_null
putfield sun.print.Win32PrintService.docPropertiesUI:Lsun/print/Win32PrintService$Win32DocumentPropertiesUI;
3: aload 0
aconst_null
putfield sun.print.Win32PrintService.uiFactory:Lsun/print/Win32PrintService$Win32ServiceUIFactory;
4: aload 1
ifnonnull 6
5: new java.lang.IllegalArgumentException
dup
ldc "null printer name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: sun.print.Win32PrintService java.lang.String
StackMap stack:
aload 0
aload 1
putfield sun.print.Win32PrintService.printer:Ljava/lang/String;
7: aload 0
iconst_0
putfield sun.print.Win32PrintService.mediaInitialized:Z
8: aload 0
iconst_0
putfield sun.print.Win32PrintService.gotTrays:Z
9: aload 0
iconst_0
putfield sun.print.Win32PrintService.gotCopies:Z
10: aload 0
iconst_0
putfield sun.print.Win32PrintService.isInvalid:Z
11: aload 0
aconst_null
putfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
12: aload 0
iconst_0
putfield sun.print.Win32PrintService.prnCaps:I
13: aload 0
aconst_null
putfield sun.print.Win32PrintService.defaultSettings:[I
14: aload 0
aconst_null
putfield sun.print.Win32PrintService.port:Ljava/lang/String;
15: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/Win32PrintService;
0 16 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void invalidateService();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
putfield sun.print.Win32PrintService.isInvalid:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/Win32PrintService;
public java.lang.String getName();
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.Win32PrintService.printer:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32PrintService;
private javax.print.attribute.standard.PrinterName getPrinterName();
descriptor: ()Ljavax/print/attribute/standard/PrinterName;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.name:Ljavax/print/attribute/standard/PrinterName;
ifnonnull 2
1: aload 0
new javax.print.attribute.standard.PrinterName
dup
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aconst_null
invokespecial javax.print.attribute.standard.PrinterName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield sun.print.Win32PrintService.name:Ljavax/print/attribute/standard/PrinterName;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.name:Ljavax/print/attribute/standard/PrinterName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
public int findPaperID(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof sun.print.Win32MediaSize
ifeq 3
1: aload 1
checkcast sun.print.Win32MediaSize
astore 2
start local 2 2: aload 2
invokevirtual sun.print.Win32MediaSize.getDMPaper:()I
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 4: goto 8
5: StackMap locals: int
StackMap stack:
getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
iload 2
aaload
aload 1
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 7
6: iload 2
iconst_1
iadd
ireturn
7: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
8: iload 2
getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 5
end local 2 9: aload 1
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A2:Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 11
10: bipush 66
ireturn
11: StackMap locals:
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A6:Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 13
12: bipush 70
ireturn
13: StackMap locals:
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.MediaSizeName.JIS_B6:Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 15
14: bipush 88
ireturn
15: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
16: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
ifnull 24
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
ifnull 24
17: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpne 24
18: iconst_0
istore 2
start local 2 19: goto 23
20: StackMap locals: int
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
aload 1
if_acmpne 22
21: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
iload 2
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
ireturn
22: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
23: iload 2
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 20
end local 2 24: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/print/Win32PrintService;
0 25 1 msn Ljavax/print/attribute/standard/MediaSizeName;
2 3 2 winMedia Lsun/print/Win32MediaSize;
4 9 2 id I
19 24 2 i I
MethodParameters:
Name Flags
msn
public int findTrayID(javax.print.attribute.standard.MediaTray);
descriptor: (Ljavax/print/attribute/standard/MediaTray;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.Win32PrintService.getMediaTrays:()[Ljavax/print/attribute/standard/MediaTray;
pop
1: aload 1
instanceof sun.print.Win32MediaTray
ifeq 4
2: aload 1
checkcast sun.print.Win32MediaTray
astore 2
start local 2 3: aload 2
invokevirtual sun.print.Win32MediaTray.getDMBinID:()I
ireturn
end local 2 4: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaTray.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iload 2
iconst_1
iadd
ireturn
8: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
9: iload 2
getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
arraylength
if_icmplt 6
end local 2 10: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/Win32PrintService;
0 11 1 tray Ljavax/print/attribute/standard/MediaTray;
3 4 2 winTray Lsun/print/Win32MediaTray;
5 10 2 id I
MethodParameters:
Name Flags
tray
public javax.print.attribute.standard.MediaTray findMediaTray(int);
descriptor: (I)Ljavax/print/attribute/standard/MediaTray;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmplt 2
iload 1
getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
arraylength
if_icmpgt 2
1: getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
iload 1
iconst_1
isub
aaload
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getMediaTrays:()[Ljavax/print/attribute/standard/MediaTray;
astore 2
start local 2 3: aload 2
ifnull 12
4: iconst_0
istore 3
start local 3 5: goto 11
6: StackMap locals: javax.print.attribute.standard.MediaTray[] int
StackMap stack:
aload 2
iload 3
aaload
instanceof sun.print.Win32MediaTray
ifeq 10
7: aload 2
iload 3
aaload
checkcast sun.print.Win32MediaTray
astore 4
start local 4 8: aload 4
getfield sun.print.Win32MediaTray.winID:I
iload 1
if_icmpne 10
9: aload 4
areturn
end local 4 10: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
11: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 12: StackMap locals:
StackMap stack:
getstatic sun.print.Win32MediaTray.AUTO:Lsun/print/Win32MediaTray;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/Win32PrintService;
0 13 1 dmBin I
3 13 2 trays [Ljavax/print/attribute/standard/MediaTray;
5 12 3 i I
8 10 4 win32Tray Lsun/print/Win32MediaTray;
MethodParameters:
Name Flags
dmBin
public javax.print.attribute.standard.MediaSizeName findWin32Media(int);
descriptor: (I)Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
if_icmplt 2
iload 1
getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmpgt 2
1: getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
iload 1
iconst_1
isub
aaload
areturn
2: StackMap locals:
StackMap stack:
iload 1
lookupswitch { // 3
66: 3
70: 4
88: 5
default: 6
}
3: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A2:Ljavax/print/attribute/standard/MediaSizeName;
areturn
4: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A6:Ljavax/print/attribute/standard/MediaSizeName;
areturn
5: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.JIS_B6:Ljavax/print/attribute/standard/MediaSizeName;
areturn
6: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/Win32PrintService;
0 7 1 dmIndex I
MethodParameters:
Name Flags
dmIndex
private boolean addToUniqueList(java.util.ArrayList<javax.print.attribute.standard.MediaSizeName>, javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljava/util/ArrayList;Ljavax/print/attribute/standard/MediaSizeName;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 4
start local 4 1: goto 6
2: StackMap locals: sun.print.Win32PrintService java.util.ArrayList javax.print.attribute.standard.MediaSizeName top int
StackMap stack:
aload 1
iload 4
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaSizeName
astore 3
start local 3 3: aload 3
aload 2
if_acmpne 5
4: iconst_0
ireturn
5: StackMap locals: sun.print.Win32PrintService java.util.ArrayList javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSizeName int
StackMap stack:
iinc 4 1
end local 3 StackMap locals: sun.print.Win32PrintService java.util.ArrayList javax.print.attribute.standard.MediaSizeName top int
StackMap stack:
6: iload 4
aload 1
invokevirtual java.util.ArrayList.size:()I
if_icmplt 2
end local 4 7: aload 1
aload 2
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
8: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/Win32PrintService;
0 9 1 msnList Ljava/util/ArrayList<Ljavax/print/attribute/standard/MediaSizeName;>;
0 9 2 mediaName Ljavax/print/attribute/standard/MediaSizeName;
3 6 3 msn Ljavax/print/attribute/standard/MediaSizeName;
1 7 4 i I
Signature: (Ljava/util/ArrayList<Ljavax/print/attribute/standard/MediaSizeName;>;Ljavax/print/attribute/standard/MediaSizeName;)Z
MethodParameters:
Name Flags
msnList
mediaName
private synchronized void initMedia();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=8, locals=11, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.mediaInitialized:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield sun.print.Win32PrintService.mediaInitialized:Z
3: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getAllMediaIDs:(Ljava/lang/String;Ljava/lang/String;)[I
astore 1
start local 1 4: aload 1
ifnonnull 6
5: return
6: StackMap locals: int[]
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 7: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 8: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
9: iconst_0
istore 6
start local 6 10: goto 13
11: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top int
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
aload 1
iload 6
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: iinc 6 1
StackMap locals:
StackMap stack:
13: iload 6
aload 1
arraylength
if_icmplt 11
end local 6 14: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 6
start local 6 15: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
aload 1
aload 6
invokevirtual sun.print.Win32PrintService.getMediaSizes:(Ljava/util/ArrayList;[ILjava/util/ArrayList;)[Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
16: iconst_0
istore 7
start local 7 17: goto 49
18: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top java.util.ArrayList int
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
iload 7
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokevirtual sun.print.Win32PrintService.findWin32Media:(I)Ljavax/print/attribute/standard/MediaSizeName;
astore 4
start local 4 19: aload 4
ifnull 27
20: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpne 27
21: aload 4
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 8
start local 8 22: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 7
aaload
astore 9
start local 9 23: sipush 2540
istore 10
start local 10 24: aload 8
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
aload 9
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
fsub
invokestatic java.lang.Math.abs:(F)F
iload 10
i2f
fcmpl
ifgt 26
25: aload 8
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
aload 9
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
fsub
invokestatic java.lang.Math.abs:(F)F
iload 10
i2f
fcmpl
ifle 27
26: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList javax.print.attribute.standard.MediaSizeName top java.util.ArrayList int javax.print.attribute.standard.MediaSize javax.print.attribute.standard.MediaSize int
StackMap stack:
aconst_null
astore 4
end local 10 end local 9 end local 8 27: StackMap locals:
StackMap stack:
aload 4
ifnull 28
iconst_1
goto 29
StackMap locals:
StackMap stack:
28: iconst_0
StackMap locals:
StackMap stack: int
29: istore 8
start local 8 30: aload 4
ifnonnull 32
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpne 32
31: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 7
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
astore 4
32: StackMap locals: int
StackMap stack:
iconst_0
istore 5
start local 5 33: aload 4
ifnull 35
34: aload 0
aload 2
aload 4
invokevirtual sun.print.Win32PrintService.addToUniqueList:(Ljava/util/ArrayList;Ljavax/print/attribute/standard/MediaSizeName;)Z
istore 5
35: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList javax.print.attribute.standard.MediaSizeName int java.util.ArrayList int int
StackMap stack:
iload 8
ifeq 36
iload 5
ifne 48
StackMap locals:
StackMap stack:
36: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 6
invokevirtual java.util.ArrayList.size:()I
if_icmpne 48
37: aload 6
iload 7
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
invokestatic sun.print.Win32MediaSize.findMediaName:(Ljava/lang/String;)Lsun/print/Win32MediaSize;
astore 9
start local 9 38: aload 9
ifnonnull 43
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpne 43
39: new sun.print.Win32MediaSize
dup
aload 6
iload 7
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.String
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
iload 7
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
invokespecial sun.print.Win32MediaSize.<init>:(Ljava/lang/String;I)V
astore 9
40: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 7
new javax.print.attribute.standard.MediaSize
dup
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 7
aaload
sipush 1000
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
41: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 7
aaload
sipush 1000
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
sipush 1000
aload 9
invokespecial javax.print.attribute.standard.MediaSize.<init>:(FFILjavax/print/attribute/standard/MediaSizeName;)V
42: aastore
43: StackMap locals: sun.print.Win32MediaSize
StackMap stack:
aload 9
ifnull 48
aload 9
aload 4
if_acmpeq 48
44: iload 5
ifne 47
45: aload 0
aload 2
aload 9
dup
astore 4
invokevirtual sun.print.Win32PrintService.addToUniqueList:(Ljava/util/ArrayList;Ljavax/print/attribute/standard/MediaSizeName;)Z
istore 5
46: goto 48
47: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 end local 8 48: StackMap locals:
StackMap stack:
iinc 7 1
end local 5 end local 4 StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top java.util.ArrayList int
StackMap stack:
49: iload 7
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 18
end local 7 50: aload 3
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 8
goto 53
StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top java.util.ArrayList top java.util.Iterator
StackMap stack:
51: aload 8
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast sun.print.Win32MediaSize
astore 7
start local 7 52: aload 0
aload 2
aload 7
invokevirtual sun.print.Win32PrintService.addToUniqueList:(Ljava/util/ArrayList;Ljavax/print/attribute/standard/MediaSizeName;)Z
istore 5
end local 7 53: StackMap locals:
StackMap stack:
aload 8
invokeinterface java.util.Iterator.hasNext:()Z
ifne 51
54: aload 0
aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSizeName
putfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
55: aload 2
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
56: return
end local 6 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 57 0 this Lsun/print/Win32PrintService;
4 57 1 media [I
7 57 2 msnList Ljava/util/ArrayList<Ljavax/print/attribute/standard/MediaSizeName;>;
8 57 3 trailingWmsList Ljava/util/ArrayList<Lsun/print/Win32MediaSize;>;
19 49 4 mediaName Ljavax/print/attribute/standard/MediaSizeName;
33 49 5 added Z
10 14 6 i I
15 57 6 dmPaperNameList Ljava/util/ArrayList<Ljava/lang/String;>;
17 50 7 i I
22 27 8 win32Size Ljavax/print/attribute/standard/MediaSize;
23 27 9 driverSize Ljavax/print/attribute/standard/MediaSize;
24 27 10 error I
30 48 8 dmPaperIDMatched Z
38 48 9 wms Lsun/print/Win32MediaSize;
52 53 7 wms Lsun/print/Win32MediaSize;
private synchronized javax.print.attribute.standard.MediaPrintableArea[] getMediaPrintables(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)[Ljavax/print/attribute/standard/MediaPrintableArea;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: aload 0
getfield sun.print.Win32PrintService.mpaListInitialized:Z
ifeq 7
2: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
ifnull 7
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 7
4: iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 2
start local 2 5: aload 2
iconst_0
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaPrintableArea
aastore
6: aload 2
areturn
end local 2 7: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
8: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 9
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
ifne 10
9: StackMap locals:
StackMap stack:
aconst_null
areturn
10: StackMap locals:
StackMap stack:
aload 1
ifnull 14
11: iconst_1
anewarray javax.print.attribute.standard.MediaSizeName
astore 2
start local 2 12: aload 2
iconst_0
aload 1
aastore
13: goto 15
end local 2 14: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
astore 2
start local 2 15: StackMap locals: javax.print.attribute.standard.MediaSizeName[]
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
ifnonnull 17
16: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
17: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 18: goto 50
19: StackMap locals: int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 20: aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 4
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnull 22
21: goto 49
22: StackMap locals: javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 4
ifnull 49
23: aload 0
aload 4
invokevirtual sun.print.Win32PrintService.findPaperID:(Ljavax/print/attribute/standard/MediaSizeName;)I
istore 5
start local 5 24: iload 5
ifeq 25
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
iload 5
invokevirtual sun.print.Win32PrintService.getMediaPrintableArea:(Ljava/lang/String;I)[F
goto 26
StackMap locals: int
StackMap stack:
25: aconst_null
StackMap locals:
StackMap stack: float[]
26: astore 6
start local 6 27: aconst_null
astore 7
start local 7 28: aload 6
ifnull 39
29: new javax.print.attribute.standard.MediaPrintableArea
dup
aload 6
iconst_0
faload
30: aload 6
iconst_1
faload
31: aload 6
iconst_2
faload
32: aload 6
iconst_3
faload
33: sipush 25400
34: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
astore 7
35: aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 4
aload 7
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
36: goto 49
37: StackMap locals: sun.print.Win32PrintService javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSizeName[] int javax.print.attribute.standard.MediaSizeName int float[] javax.print.attribute.standard.MediaPrintableArea
StackMap stack: java.lang.IllegalArgumentException
pop
38: goto 49
39: StackMap locals:
StackMap stack:
aload 4
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 8
start local 8 40: aload 8
ifnull 49
41: new javax.print.attribute.standard.MediaPrintableArea
dup
fconst_0
fconst_0
42: aload 8
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
43: aload 8
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
44: sipush 25400
45: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
astore 7
46: aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 4
aload 7
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
47: goto 49
StackMap locals: sun.print.Win32PrintService javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSizeName[] int javax.print.attribute.standard.MediaSizeName int float[] javax.print.attribute.standard.MediaPrintableArea javax.print.attribute.standard.MediaSize
StackMap stack: java.lang.IllegalArgumentException
48: pop
end local 8 end local 7 end local 6 end local 5 end local 4 49: StackMap locals: sun.print.Win32PrintService javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSizeName[] int
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
50: iload 3
aload 2
arraylength
if_icmplt 19
end local 3 51: aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.size:()I
ifne 53
52: aconst_null
areturn
53: StackMap locals:
StackMap stack:
aload 1
ifnull 59
54: aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
ifnonnull 56
55: aconst_null
areturn
56: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 3
start local 3 57: aload 3
iconst_0
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaPrintableArea
aastore
58: aload 3
areturn
end local 3 59: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintService.mpaMap:Ljava/util/HashMap;
invokevirtual java.util.HashMap.values:()Ljava/util/Collection;
iconst_0
anewarray javax.print.attribute.standard.MediaPrintableArea
invokeinterface java.util.Collection.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.MediaPrintableArea[]
putfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
60: aload 0
iconst_1
putfield sun.print.Win32PrintService.mpaListInitialized:Z
61: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 62 0 this Lsun/print/Win32PrintService;
0 62 1 msn Ljavax/print/attribute/standard/MediaSizeName;
5 7 2 mpaArr [Ljavax/print/attribute/standard/MediaPrintableArea;
12 14 2 loopNames [Ljavax/print/attribute/standard/MediaSizeName;
15 62 2 loopNames [Ljavax/print/attribute/standard/MediaSizeName;
18 51 3 i I
20 49 4 mediaName Ljavax/print/attribute/standard/MediaSizeName;
24 49 5 defPaper I
27 49 6 prnArea [F
28 49 7 printableArea Ljavax/print/attribute/standard/MediaPrintableArea;
40 49 8 ms Ljavax/print/attribute/standard/MediaSize;
57 59 3 mpaArr [Ljavax/print/attribute/standard/MediaPrintableArea;
Exception table:
from to target type
29 36 37 Class java.lang.IllegalArgumentException
41 47 48 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
msn
private synchronized javax.print.attribute.standard.MediaTray[] getMediaTrays();
descriptor: ()[Ljavax/print/attribute/standard/MediaTray;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=9, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.gotTrays:Z
ifeq 2
aload 0
getfield sun.print.Win32PrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
ifnull 2
1: aload 0
getfield sun.print.Win32PrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
astore 1
start local 1 3: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 1
invokevirtual sun.print.Win32PrintService.getAllMediaTrays:(Ljava/lang/String;Ljava/lang/String;)[I
astore 2
start local 2 4: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 1
invokevirtual sun.print.Win32PrintService.getAllMediaTrayNames:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 5: aload 2
ifnull 6
aload 3
ifnonnull 7
6: StackMap locals: java.lang.String int[] java.lang.String[]
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
iconst_0
istore 4
start local 4 8: iconst_0
istore 5
start local 5 9: goto 12
10: StackMap locals: int int
StackMap stack:
aload 2
iload 5
iaload
ifle 11
iinc 4 1
11: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
12: iload 5
aload 2
arraylength
if_icmplt 10
end local 5 13: iload 4
anewarray javax.print.attribute.standard.MediaTray
astore 5
start local 5 14: iconst_0
istore 7
start local 7 15: iconst_0
istore 8
start local 8 16: goto 25
17: StackMap locals: sun.print.Win32PrintService java.lang.String int[] java.lang.String[] int javax.print.attribute.standard.MediaTray[] top int int
StackMap stack:
aload 2
iload 7
iaload
istore 6
start local 6 18: iload 6
ifle 24
19: iload 6
getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
arraylength
if_icmpgt 21
20: getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
iload 6
iconst_1
isub
aaload
ifnonnull 23
21: StackMap locals: sun.print.Win32PrintService java.lang.String int[] java.lang.String[] int javax.print.attribute.standard.MediaTray[] int int int
StackMap stack:
aload 5
iload 8
iinc 8 1
new sun.print.Win32MediaTray
dup
iload 6
aload 3
iload 7
aaload
invokespecial sun.print.Win32MediaTray.<init>:(ILjava/lang/String;)V
aastore
22: goto 24
23: StackMap locals:
StackMap stack:
aload 5
iload 8
iinc 8 1
getstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
iload 6
iconst_1
isub
aaload
aastore
24: StackMap locals:
StackMap stack:
iinc 7 1
end local 6 StackMap locals: sun.print.Win32PrintService java.lang.String int[] java.lang.String[] int javax.print.attribute.standard.MediaTray[] top int int
StackMap stack:
25: iload 7
aload 2
arraylength
aload 3
arraylength
invokestatic java.lang.Math.min:(II)I
if_icmplt 17
end local 8 end local 7 26: aload 0
aload 5
putfield sun.print.Win32PrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
27: aload 0
iconst_1
putfield sun.print.Win32PrintService.gotTrays:Z
28: aload 0
getfield sun.print.Win32PrintService.mediaTrays:[Ljavax/print/attribute/standard/MediaTray;
areturn
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 29 0 this Lsun/print/Win32PrintService;
3 29 1 prnPort Ljava/lang/String;
4 29 2 mediaTr [I
5 29 3 winMediaTrayNames [Ljava/lang/String;
8 29 4 nTray I
9 13 5 i I
14 29 5 arr [Ljavax/print/attribute/standard/MediaTray;
18 25 6 dmBin I
15 26 7 i I
16 26 8 j I
private boolean isSameSize(float, float, float, float);
descriptor: (FFFF)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=9, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 1
fload 3
fsub
fstore 5
start local 5 1: fload 2
fload 4
fsub
fstore 6
start local 6 2: fload 1
fload 4
fsub
fstore 7
start local 7 3: fload 2
fload 3
fsub
fstore 8
start local 8 4: fload 5
invokestatic java.lang.Math.abs:(F)F
fconst_1
fcmpg
ifgt 5
fload 6
invokestatic java.lang.Math.abs:(F)F
fconst_1
fcmpg
ifle 6
5: StackMap locals: sun.print.Win32PrintService float float float float float float float float
StackMap stack:
fload 7
invokestatic java.lang.Math.abs:(F)F
fconst_1
fcmpg
ifgt 7
fload 8
invokestatic java.lang.Math.abs:(F)F
fconst_1
fcmpg
ifgt 7
6: StackMap locals:
StackMap stack:
iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 8 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 8 0 this Lsun/print/Win32PrintService;
0 8 1 w1 F
0 8 2 h1 F
0 8 3 w2 F
0 8 4 h2 F
1 8 5 diffX F
2 8 6 diffY F
3 8 7 diffXrev F
4 8 8 diffYrev F
MethodParameters:
Name Flags
w1
h1
w2
h2
public javax.print.attribute.standard.MediaSizeName findMatchingMediaSizeNameMM(float, float);
descriptor: (FF)Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
ifnull 13
1: iconst_0
istore 3
start local 3 2: goto 12
3: StackMap locals: int
StackMap stack:
getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
iload 3
aaload
ifnonnull 5
4: goto 11
5: StackMap locals:
StackMap stack:
aload 0
getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
iload 3
aaload
sipush 1000
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
6: getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
iload 3
aaload
sipush 1000
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
7: fload 1
fload 2
8: invokevirtual sun.print.Win32PrintService.isSameSize:(FFFF)Z
9: ifeq 11
10: getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
iload 3
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
areturn
11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
getstatic sun.print.Win32PrintService.predefMedia:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmplt 3
end local 3 13: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/print/Win32PrintService;
0 14 1 w F
0 14 2 h F
2 13 3 k I
MethodParameters:
Name Flags
w
h
private javax.print.attribute.standard.MediaSize[] getMediaSizes(java.util.ArrayList<java.lang.Integer>, int[], java.util.ArrayList<java.lang.String>);
descriptor: (Ljava/util/ArrayList;[ILjava/util/ArrayList;)[Ljavax/print/attribute/standard/MediaSize;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=16, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 3
ifnonnull 2
1: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
astore 4
start local 4 3: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 4
invokevirtual sun.print.Win32PrintService.getAllMediaSizes:(Ljava/lang/String;Ljava/lang/String;)[I
astore 5
start local 5 4: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 4
invokevirtual sun.print.Win32PrintService.getAllMediaNames:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 6
start local 6 5: aconst_null
astore 7
start local 7 6: aconst_null
astore 8
start local 8 7: aload 5
ifnull 8
aload 6
ifnonnull 9
8: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.util.ArrayList java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize
StackMap stack:
aconst_null
areturn
9: StackMap locals:
StackMap stack:
aload 5
arraylength
iconst_2
idiv
istore 11
start local 11 10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 12
start local 12 11: iconst_0
istore 13
start local 13 12: goto 39
13: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.util.ArrayList java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize top top int java.util.ArrayList int
StackMap stack:
aload 5
iload 13
iconst_2
imul
iaload
i2f
ldc 10.0
fdiv
fstore 9
start local 9 14: aload 5
iload 13
iconst_2
imul
iconst_1
iadd
iaload
i2f
ldc 10.0
fdiv
fstore 10
start local 10 15: fload 9
fconst_0
fcmpg
ifle 16
fload 10
fconst_0
fcmpg
ifgt 20
16: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.util.ArrayList java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize float float int java.util.ArrayList int
StackMap stack:
iload 11
aload 2
arraylength
if_icmpne 38
17: aload 2
iload 13
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 14
start local 14 18: aload 1
aload 1
aload 14
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
end local 14 19: goto 38
20: StackMap locals:
StackMap stack:
aload 0
fload 9
fload 10
invokevirtual sun.print.Win32PrintService.findMatchingMediaSizeNameMM:(FF)Ljavax/print/attribute/standard/MediaSizeName;
astore 7
21: aload 7
ifnull 23
22: aload 7
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 8
23: StackMap locals:
StackMap stack:
aload 8
ifnull 27
24: aload 12
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
25: aload 3
aload 6
iload 13
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
26: goto 38
27: StackMap locals:
StackMap stack:
aload 6
iload 13
aaload
invokestatic sun.print.Win32MediaSize.findMediaName:(Ljava/lang/String;)Lsun/print/Win32MediaSize;
astore 14
start local 14 28: aload 14
ifnonnull 30
29: new sun.print.Win32MediaSize
dup
aload 6
iload 13
aaload
aload 2
iload 13
iaload
invokespecial sun.print.Win32MediaSize.<init>:(Ljava/lang/String;I)V
astore 14
30: StackMap locals: sun.print.Win32MediaSize
StackMap stack:
new javax.print.attribute.standard.MediaSize
dup
fload 9
fload 10
sipush 1000
aload 14
invokespecial javax.print.attribute.standard.MediaSize.<init>:(FFILjavax/print/attribute/standard/MediaSizeName;)V
astore 8
31: aload 12
aload 8
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: aload 3
aload 6
iload 13
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
33: goto 38
StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
34: pop
35: iload 11
aload 2
arraylength
if_icmpne 38
36: aload 2
iload 13
iaload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 15
start local 15 37: aload 1
aload 1
aload 15
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
end local 15 end local 14 38: StackMap locals:
StackMap stack:
iinc 13 1
aconst_null
astore 8
end local 10 end local 9 StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.util.ArrayList java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize top top int java.util.ArrayList int
StackMap stack:
39: iload 13
iload 11
if_icmplt 13
end local 13 40: aload 12
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSize
astore 13
start local 13 41: aload 12
aload 13
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
42: aload 13
areturn
end local 13 end local 12 end local 11 end local 8 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 43 0 this Lsun/print/Win32PrintService;
0 43 1 idList Ljava/util/ArrayList<Ljava/lang/Integer;>;
0 43 2 media [I
0 43 3 dmPaperNameList Ljava/util/ArrayList<Ljava/lang/String;>;
3 43 4 prnPort Ljava/lang/String;
4 43 5 mediaSz [I
5 43 6 winMediaNames [Ljava/lang/String;
6 43 7 msn Ljavax/print/attribute/standard/MediaSizeName;
7 43 8 ms Ljavax/print/attribute/standard/MediaSize;
14 39 9 wid F
15 39 10 ht F
10 43 11 nMedia I
11 43 12 msList Ljava/util/ArrayList<Ljavax/print/attribute/standard/MediaSize;>;
12 40 13 i I
18 19 14 remObj Ljava/lang/Integer;
28 38 14 wms Lsun/print/Win32MediaSize;
37 38 15 remObj Ljava/lang/Integer;
41 43 13 arr2 [Ljavax/print/attribute/standard/MediaSize;
Exception table:
from to target type
30 33 34 Class java.lang.IllegalArgumentException
Signature: (Ljava/util/ArrayList<Ljava/lang/Integer;>;[ILjava/util/ArrayList<Ljava/lang/String;>;)[Ljavax/print/attribute/standard/MediaSize;
MethodParameters:
Name Flags
idList
media
dmPaperNameList
private javax.print.attribute.standard.PrinterIsAcceptingJobs getPrinterIsAcceptingJobs();
descriptor: ()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
iconst_2
invokevirtual sun.print.Win32PrintService.getJobStatus:(Ljava/lang/String;I)I
iconst_1
if_icmpeq 2
1: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
2: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
private javax.print.attribute.standard.PrinterState getPrinterState();
descriptor: ()Ljavax/print/attribute/standard/PrinterState;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.isInvalid:Z
ifeq 2
1: getstatic javax.print.attribute.standard.PrinterState.STOPPED:Ljavax/print/attribute/standard/PrinterState;
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
private javax.print.attribute.standard.PrinterStateReasons getPrinterStateReasons();
descriptor: ()Ljavax/print/attribute/standard/PrinterStateReasons;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.isInvalid:Z
ifeq 4
1: new javax.print.attribute.standard.PrinterStateReasons
dup
invokespecial javax.print.attribute.standard.PrinterStateReasons.<init>:()V
astore 1
start local 1 2: aload 1
getstatic javax.print.attribute.standard.PrinterStateReason.SHUTDOWN:Ljavax/print/attribute/standard/PrinterStateReason;
getstatic javax.print.attribute.standard.Severity.ERROR:Ljavax/print/attribute/standard/Severity;
invokevirtual javax.print.attribute.standard.PrinterStateReasons.put:(Ljavax/print/attribute/standard/PrinterStateReason;Ljavax/print/attribute/standard/Severity;)Ljavax/print/attribute/standard/Severity;
pop
3: aload 1
areturn
end local 1 4: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/Win32PrintService;
2 4 1 psr Ljavax/print/attribute/standard/PrinterStateReasons;
private javax.print.attribute.standard.QueuedJobCount getQueuedJobCount();
descriptor: ()Ljavax/print/attribute/standard/QueuedJobCount;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
iconst_1
invokevirtual sun.print.Win32PrintService.getJobStatus:(Ljava/lang/String;I)I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpeq 3
2: new javax.print.attribute.standard.QueuedJobCount
dup
iload 1
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
3: StackMap locals: int
StackMap stack:
new javax.print.attribute.standard.QueuedJobCount
dup
iconst_0
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/Win32PrintService;
1 4 1 count I
private boolean isSupportedCopies(javax.print.attribute.standard.Copies);
descriptor: (Ljavax/print/attribute/standard/Copies;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 0
getfield sun.print.Win32PrintService.gotCopies:Z
ifne 4
2: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getCopiesSupported:(Ljava/lang/String;Ljava/lang/String;)I
putfield sun.print.Win32PrintService.nCopies:I
3: aload 0
iconst_1
putfield sun.print.Win32PrintService.gotCopies:Z
4: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 2
monitorexit
5: goto 8
StackMap locals:
StackMap stack: java.lang.Throwable
6: aload 2
monitorexit
7: athrow
8: StackMap locals:
StackMap stack:
aload 1
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
istore 2
start local 2 9: iload 2
ifle 10
iload 2
aload 0
getfield sun.print.Win32PrintService.nCopies:I
if_icmpgt 10
iconst_1
ireturn
StackMap locals: int
StackMap stack:
10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/Win32PrintService;
0 11 1 copies Ljavax/print/attribute/standard/Copies;
9 11 2 numCopies I
Exception table:
from to target type
1 5 6 any
6 7 6 any
MethodParameters:
Name Flags
copies
private boolean isSupportedMedia(javax.print.attribute.standard.MediaSizeName);
descriptor: (Ljavax/print/attribute/standard/MediaSizeName;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
1: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 8
2: iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 4
end local 2 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/Win32PrintService;
0 9 1 msn Ljavax/print/attribute/standard/MediaSizeName;
3 8 2 i I
MethodParameters:
Name Flags
msn
private boolean isSupportedMediaPrintableArea(javax.print.attribute.standard.MediaPrintableArea);
descriptor: (Ljavax/print/attribute/standard/MediaPrintableArea;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aconst_null
invokevirtual sun.print.Win32PrintService.getMediaPrintables:(Ljavax/print/attribute/standard/MediaSizeName;)[Ljavax/print/attribute/standard/MediaPrintableArea;
pop
1: sipush 25400
istore 2
start local 2 2: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
ifnull 18
3: iconst_0
istore 3
start local 3 4: goto 17
5: StackMap locals: int int
StackMap stack:
aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getX:(I)F
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getX:(I)F
fcmpl
iflt 16
6: aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getY:(I)F
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getY:(I)F
fcmpl
iflt 16
7: aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getX:(I)F
aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getWidth:(I)F
fadd
8: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getX:(I)F
9: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getWidth:(I)F
10: fadd
fcmpg
ifgt 16
11: aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getY:(I)F
aload 1
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getHeight:(I)F
fadd
12: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getY:(I)F
13: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 3
aaload
iload 2
invokevirtual javax.print.attribute.standard.MediaPrintableArea.getHeight:(I)F
14: fadd
fcmpg
ifgt 16
15: iconst_1
ireturn
16: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
17: iload 3
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
if_icmplt 5
end local 3 18: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/print/Win32PrintService;
0 19 1 mpa Ljavax/print/attribute/standard/MediaPrintableArea;
2 19 2 units I
4 18 3 i I
MethodParameters:
Name Flags
mpa
private boolean isSupportedMediaTray(javax.print.attribute.standard.MediaTray);
descriptor: (Ljavax/print/attribute/standard/MediaTray;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.Win32PrintService.getMediaTrays:()[Ljavax/print/attribute/standard/MediaTray;
astore 2
start local 2 1: aload 2
ifnull 8
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: javax.print.attribute.standard.MediaTray[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual javax.print.attribute.standard.MediaTray.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/Win32PrintService;
0 9 1 msn Ljavax/print/attribute/standard/MediaTray;
1 9 2 trays [Ljavax/print/attribute/standard/MediaTray;
3 8 3 i I
MethodParameters:
Name Flags
msn
private int getPrinterCapabilities();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.prnCaps:I
ifne 2
1: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getCapabilities:(Ljava/lang/String;Ljava/lang/String;)I
putfield sun.print.Win32PrintService.prnCaps:I
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.prnCaps:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
private java.lang.String getPort();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.port:Ljava/lang/String;
ifnonnull 2
1: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getPrinterPort:(Ljava/lang/String;)Ljava/lang/String;
putfield sun.print.Win32PrintService.port:Ljava/lang/String;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.port:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
private int[] getDefaultPrinterSettings();
descriptor: ()[I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.defaultSettings:[I
ifnonnull 2
1: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getDefaultSettings:(Ljava/lang/String;Ljava/lang/String;)[I
putfield sun.print.Win32PrintService.defaultSettings:[I
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.defaultSettings:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
private javax.print.attribute.standard.PrinterResolution[] getPrintResolutions();
descriptor: ()[Ljavax/print/attribute/standard/PrinterResolution;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
ifnonnull 18
1: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getAllResolutions:(Ljava/lang/String;Ljava/lang/String;)[I
astore 1
start local 1 2: aload 1
ifnonnull 5
3: aload 0
iconst_0
anewarray javax.print.attribute.standard.PrinterResolution
putfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
4: goto 18
5: StackMap locals: int[]
StackMap stack:
aload 1
arraylength
iconst_2
idiv
istore 2
start local 2 6: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 3
start local 3 7: iconst_0
istore 5
start local 5 8: goto 16
9: StackMap locals: sun.print.Win32PrintService int[] int java.util.ArrayList top int
StackMap stack:
new javax.print.attribute.standard.PrinterResolution
dup
aload 1
iload 5
iconst_2
imul
iaload
10: aload 1
iload 5
iconst_2
imul
iconst_1
iadd
iaload
bipush 100
11: invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
astore 4
start local 4 12: aload 3
aload 4
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: goto 15
end local 4 StackMap locals:
StackMap stack: java.lang.IllegalArgumentException
14: pop
15: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
16: iload 5
iload 2
if_icmplt 9
end local 5 17: aload 0
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.PrinterResolution
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.attribute.standard.PrinterResolution[]
putfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
end local 3 end local 2 end local 1 18: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lsun/print/Win32PrintService;
2 18 1 prnRes [I
6 18 2 nRes I
7 18 3 arrList Ljava/util/ArrayList<Ljavax/print/attribute/standard/PrinterResolution;>;
12 14 4 pr Ljavax/print/attribute/standard/PrinterResolution;
8 17 5 i I
Exception table:
from to target type
9 13 14 Class java.lang.IllegalArgumentException
private boolean isSupportedResolution(javax.print.attribute.standard.PrinterResolution);
descriptor: (Ljavax/print/attribute/standard/PrinterResolution;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.Win32PrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 2
start local 2 1: aload 2
ifnull 8
2: iconst_0
istore 3
start local 3 3: goto 7
4: StackMap locals: javax.print.attribute.standard.PrinterResolution[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual javax.print.attribute.standard.PrinterResolution.equals:(Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 2
arraylength
if_icmplt 4
end local 3 8: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/Win32PrintService;
0 9 1 res Ljavax/print/attribute/standard/PrinterResolution;
1 9 2 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
3 8 3 i I
MethodParameters:
Name Flags
res
public javax.print.DocPrintJob createPrintJob();
descriptor: ()Ljavax/print/DocPrintJob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
3: StackMap locals: java.lang.SecurityManager
StackMap stack:
new sun.print.Win32PrintJob
dup
aload 0
invokespecial sun.print.Win32PrintJob.<init>:(Lsun/print/Win32PrintService;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/Win32PrintService;
1 4 1 security Ljava/lang/SecurityManager;
private javax.print.attribute.PrintServiceAttributeSet getDynamicAttributes();
descriptor: ()Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: new javax.print.attribute.HashPrintServiceAttributeSet
dup
invokespecial javax.print.attribute.HashPrintServiceAttributeSet.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterIsAcceptingJobs:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
aload 0
invokevirtual sun.print.Win32PrintService.getQueuedJobCount:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
3: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/Win32PrintService;
1 4 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
public javax.print.attribute.PrintServiceAttributeSet getUpdatedAttributes();
descriptor: ()Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual sun.print.Win32PrintService.getDynamicAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
astore 1
start local 1 1: aload 0
getfield sun.print.Win32PrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
ifnonnull 4
2: aload 0
aload 1
putfield sun.print.Win32PrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
3: aload 1
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintServiceAttributeSet;)Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
4: StackMap locals: javax.print.attribute.PrintServiceAttributeSet
StackMap stack:
new javax.print.attribute.HashPrintServiceAttributeSet
dup
invokespecial javax.print.attribute.HashPrintServiceAttributeSet.<init>:()V
5: astore 2
start local 2 6: aload 1
invokeinterface javax.print.attribute.PrintServiceAttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 3
start local 3 7: iconst_0
istore 4
start local 4 8: goto 13
9: StackMap locals: javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
aload 3
iload 4
aaload
astore 5
start local 5 10: aload 0
getfield sun.print.Win32PrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
aload 5
invokeinterface javax.print.attribute.PrintServiceAttributeSet.containsValue:(Ljavax/print/attribute/Attribute;)Z
ifne 12
11: aload 2
aload 5
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
end local 5 12: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
13: iload 4
aload 3
arraylength
if_icmplt 9
end local 4 14: aload 0
aload 1
putfield sun.print.Win32PrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
15: aload 2
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintServiceAttributeSet;)Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/Win32PrintService;
1 16 1 currSet Ljavax/print/attribute/PrintServiceAttributeSet;
6 16 2 updates Ljavax/print/attribute/PrintServiceAttributeSet;
7 16 3 attrs [Ljavax/print/attribute/Attribute;
8 14 4 i I
10 12 5 attr Ljavax/print/attribute/Attribute;
public void wakeNotifier();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
dup
astore 1
monitorenter
1: aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
ifnull 3
2: aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.wake:()V
3: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 1
monitorexit
4: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
5: aload 1
monitorexit
6: athrow
7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/print/Win32PrintService;
Exception table:
from to target type
1 4 5 any
5 6 5 any
public void addPrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
ifnonnull 4
2: aload 2
monitorexit
3: return
4: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
ifnonnull 6
5: aload 0
new sun.print.ServiceNotifier
dup
aload 0
invokespecial sun.print.ServiceNotifier.<init>:(Ljavax/print/PrintService;)V
putfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
aload 1
invokevirtual sun.print.ServiceNotifier.addListener:(Ljavax/print/event/PrintServiceAttributeListener;)V
7: aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/Win32PrintService;
0 12 1 listener Ljavax/print/event/PrintServiceAttributeListener;
Exception table:
from to target type
1 3 9 any
4 8 9 any
9 10 9 any
MethodParameters:
Name Flags
listener
public void removePrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
ifnull 2
aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
ifnonnull 4
2: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
aload 1
invokevirtual sun.print.ServiceNotifier.removeListener:(Ljavax/print/event/PrintServiceAttributeListener;)V
5: aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.isEmpty:()Z
ifeq 8
6: aload 0
getfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.stopNotifier:()V
7: aload 0
aconst_null
putfield sun.print.Win32PrintService.notifier:Lsun/print/ServiceNotifier;
8: StackMap locals:
StackMap stack:
aload 2
monitorexit
9: goto 12
StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
12: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/Win32PrintService;
0 13 1 listener Ljavax/print/event/PrintServiceAttributeListener;
Exception table:
from to target type
1 3 10 any
4 9 10 any
10 11 10 any
MethodParameters:
Name Flags
listener
public <T extends javax.print.attribute.PrintServiceAttribute> T getAttribute(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/PrintServiceAttribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "Not a PrintServiceAttribute"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 9
5: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 2
start local 2 6: iload 2
iconst_1
iand
ifeq 8
7: getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
8: StackMap locals: int
StackMap stack:
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
end local 2 9: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterName;
if_acmpne 11
10: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterName:()Ljavax/print/attribute/standard/PrinterName;
areturn
11: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterState;
if_acmpne 13
12: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterState:()Ljavax/print/attribute/standard/PrinterState;
areturn
13: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterStateReasons;
if_acmpne 15
14: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterStateReasons:()Ljavax/print/attribute/standard/PrinterStateReasons;
areturn
15: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/QueuedJobCount;
if_acmpne 17
16: aload 0
invokevirtual sun.print.Win32PrintService.getQueuedJobCount:()Ljavax/print/attribute/standard/QueuedJobCount;
areturn
17: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
if_acmpne 19
18: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterIsAcceptingJobs:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
19: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/print/Win32PrintService;
0 20 1 category Ljava/lang/Class<TT;>;
6 9 2 caps I
Signature: <T::Ljavax/print/attribute/PrintServiceAttribute;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
category
public javax.print.attribute.PrintServiceAttributeSet getAttributes();
descriptor: ()Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: new javax.print.attribute.HashPrintServiceAttributeSet
dup
invokespecial javax.print.attribute.HashPrintServiceAttributeSet.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterName:()Ljavax/print/attribute/standard/PrinterName;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterIsAcceptingJobs:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
3: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterState:()Ljavax/print/attribute/standard/PrinterState;
astore 2
start local 2 4: aload 2
ifnull 6
5: aload 1
aload 2
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
6: StackMap locals: javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.standard.PrinterState
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterStateReasons:()Ljavax/print/attribute/standard/PrinterStateReasons;
astore 3
start local 3 7: aload 3
ifnull 9
8: aload 1
aload 3
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
9: StackMap locals: javax.print.attribute.standard.PrinterStateReasons
StackMap stack:
aload 1
aload 0
invokevirtual sun.print.Win32PrintService.getQueuedJobCount:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
10: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 4
start local 4 11: iload 4
iconst_1
iand
ifeq 14
12: aload 1
getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
13: goto 15
14: StackMap locals: int
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
15: StackMap locals:
StackMap stack:
aload 1
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintServiceAttributeSet;)Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/Win32PrintService;
1 16 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
4 16 2 prnState Ljavax/print/attribute/standard/PrinterState;
7 16 3 prnStateReasons Ljavax/print/attribute/standard/PrinterStateReasons;
11 16 4 caps I
public javax.print.DocFlavor[] getSupportedDocFlavors();
descriptor: ()[Ljavax/print/DocFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=1
start local 0 0: getstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
arraylength
istore 1
start local 1 1: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 3
start local 3 2: iload 3
bipush 16
iand
ifeq 9
3: iload 1
iconst_3
iadd
anewarray javax.print.DocFlavor
astore 2
start local 2 4: getstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 2
iload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
6: aload 2
iload 1
iconst_1
iadd
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
7: aload 2
iload 1
iconst_2
iadd
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
aastore
8: goto 11
end local 2 9: StackMap locals: sun.print.Win32PrintService int top int
StackMap stack:
iload 1
anewarray javax.print.DocFlavor
astore 2
start local 2 10: getstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: StackMap locals: sun.print.Win32PrintService int javax.print.DocFlavor[] int
StackMap stack:
aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/Win32PrintService;
1 12 1 len I
4 9 2 supportedDocFlavors [Ljavax/print/DocFlavor;
10 12 2 supportedDocFlavors [Ljavax/print/DocFlavor;
2 12 3 caps I
public boolean isDocFlavorSupported(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual sun.print.Win32PrintService.isPostScriptFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 3
1: aload 0
invokevirtual sun.print.Win32PrintService.getSupportedDocFlavors:()[Ljavax/print/DocFlavor;
astore 2
start local 2 2: goto 4
end local 2 3: StackMap locals:
StackMap stack:
getstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
astore 2
start local 2 4: StackMap locals: javax.print.DocFlavor[]
StackMap stack:
iconst_0
istore 3
start local 3 5: goto 9
6: StackMap locals: int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
9: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 10: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/print/Win32PrintService;
0 11 1 flavor Ljavax/print/DocFlavor;
2 3 2 supportedDocFlavors [Ljavax/print/DocFlavor;
4 11 2 supportedDocFlavors [Ljavax/print/DocFlavor;
5 10 3 f I
MethodParameters:
Name Flags
flavor
public java.lang.Class<?>[] getSupportedAttributeCategories();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
getstatic sun.print.Win32PrintService.otherAttrCats:[Ljava/lang/Class;
arraylength
iconst_3
iadd
invokespecial java.util.ArrayList.<init>:(I)V
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.ArrayList int
StackMap stack:
aload 1
getstatic sun.print.Win32PrintService.otherAttrCats:[Ljava/lang/Class;
iload 2
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
getstatic sun.print.Win32PrintService.otherAttrCats:[Ljava/lang/Class;
arraylength
if_icmplt 3
end local 2 6: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 2
start local 2 7: iload 2
iconst_2
iand
ifeq 9
8: aload 1
ldc Ljavax/print/attribute/standard/Sides;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
iload 2
bipush 8
iand
ifeq 13
10: aload 0
invokevirtual sun.print.Win32PrintService.getDefaultPrinterSettings:()[I
astore 3
start local 3 11: aload 3
iconst_3
iaload
bipush -4
if_icmplt 13
aload 3
iconst_3
iaload
ifge 13
12: aload 1
ldc Ljavax/print/attribute/standard/PrintQuality;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 3 13: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 3
start local 3 14: aload 3
ifnull 16
aload 3
arraylength
ifle 16
15: aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
16: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
invokestatic java.awt.GraphicsEnvironment.isHeadless:()Z
ifne 19
17: aload 1
ldc Ljavax/print/attribute/standard/DialogOwner;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
18: aload 1
ldc Ljavax/print/attribute/standard/DialogTypeSelection;
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
19: StackMap locals:
StackMap stack:
aload 1
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.Class
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.Class[]
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lsun/print/Win32PrintService;
1 20 1 categList Ljava/util/ArrayList<Ljava/lang/Class<*>;>;
2 6 2 i I
7 20 2 caps I
11 13 3 defaults [I
14 20 3 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
Signature: ()[Ljava/lang/Class<*>;
public boolean isAttributeCategorySupported(java.lang.Class<? extends javax.print.attribute.Attribute>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not an Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getSupportedAttributeCategories:()[Ljava/lang/Class;
astore 2
start local 2 7: iconst_0
istore 3
start local 3 8: goto 12
9: StackMap locals: java.lang.Class[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 2
arraylength
if_icmplt 9
end local 3 13: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/print/Win32PrintService;
0 14 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
7 14 2 classList [Ljava/lang/Class;
8 13 3 i I
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Z
MethodParameters:
Name Flags
category
public getDefaultAttributeValue(java.lang.Class<? extends javax.print.attribute.Attribute>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=14, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " is not an Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.Win32PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getDefaultPrinterSettings:()[I
astore 2
start local 2 9: aload 2
iconst_0
iaload
istore 3
start local 3 10: aload 2
iconst_2
iaload
istore 4
start local 4 11: aload 2
iconst_3
iaload
istore 5
start local 5 12: aload 2
iconst_4
iaload
istore 6
start local 6 13: aload 2
iconst_5
iaload
istore 7
start local 7 14: aload 2
bipush 6
iaload
istore 8
start local 8 15: aload 2
bipush 7
iaload
istore 9
start local 9 16: aload 2
bipush 8
iaload
istore 10
start local 10 17: aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 21
18: iload 6
ifle 20
19: new javax.print.attribute.standard.Copies
dup
iload 6
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
20: StackMap locals: sun.print.Win32PrintService java.lang.Class int[] int int int int int int int int
StackMap stack:
new javax.print.attribute.standard.Copies
dup
iconst_1
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
21: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 25
22: iload 10
iconst_2
if_icmpne 24
23: getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
areturn
24: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
areturn
25: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 27
26: new javax.print.attribute.standard.JobName
dup
ldc "Java Printing"
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
27: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 31
28: iload 7
iconst_2
if_icmpne 30
29: getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
areturn
30: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
31: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 33
32: new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
areturn
33: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 49
34: aload 0
iload 3
invokevirtual sun.print.Win32PrintService.findWin32Media:(I)Ljavax/print/attribute/standard/MediaSizeName;
astore 11
start local 11 35: aload 11
ifnull 40
36: aload 0
aload 11
invokevirtual sun.print.Win32PrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ifne 39
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 39
37: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aaload
astore 11
38: aload 0
aload 11
invokevirtual sun.print.Win32PrintService.findPaperID:(Ljavax/print/attribute/standard/MediaSizeName;)I
istore 3
39: StackMap locals: javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 11
areturn
40: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
41: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 115
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
ifle 115
42: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
ifnull 48
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
ifnull 48
43: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpne 48
44: iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 12
start local 12 45: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
aload 12
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
istore 13
start local 13 46: iload 13
iflt 48
iload 13
aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
arraylength
if_icmpge 48
47: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 13
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 13 end local 12 48: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aaload
areturn
end local 11 49: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 67
50: aload 0
iload 3
invokevirtual sun.print.Win32PrintService.findWin32Media:(I)Ljavax/print/attribute/standard/MediaSizeName;
astore 11
start local 11 51: aload 11
ifnull 54
52: aload 0
aload 11
invokevirtual sun.print.Win32PrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ifne 54
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 54
53: aload 0
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aaload
invokevirtual sun.print.Win32PrintService.findPaperID:(Ljavax/print/attribute/standard/MediaSizeName;)I
istore 3
54: StackMap locals: javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
iload 3
invokevirtual sun.print.Win32PrintService.getMediaPrintableArea:(Ljava/lang/String;I)[F
astore 12
start local 12 55: aload 12
ifnull 66
56: aconst_null
astore 13
start local 13 57: new javax.print.attribute.standard.MediaPrintableArea
dup
aload 12
iconst_0
faload
58: aload 12
iconst_1
faload
59: aload 12
iconst_2
faload
60: aload 12
iconst_3
faload
61: sipush 25400
62: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
astore 13
63: goto 65
StackMap locals: sun.print.Win32PrintService java.lang.Class int[] int int int int int int int int javax.print.attribute.standard.MediaSizeName float[] javax.print.attribute.standard.MediaPrintableArea
StackMap stack: java.lang.IllegalArgumentException
64: pop
65: StackMap locals:
StackMap stack:
aload 13
areturn
end local 13 66: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 12 end local 11 67: StackMap locals:
StackMap stack:
aload 1
ldc Lsun/print/SunAlternateMedia;
if_acmpne 69
68: aconst_null
areturn
69: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 77
70: new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.prn"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
71: areturn
72: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
73: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.prn"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
74: areturn
75: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
76: aconst_null
areturn
77: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 82
78: iload 8
tableswitch { // 2 - 3
2: 79
3: 80
default: 81
}
79: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
areturn
80: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
areturn
81: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
areturn
82: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 92
83: iload 4
istore 11
start local 11 84: iload 5
istore 12
start local 12 85: iload 12
iflt 86
iload 11
ifge 91
86: StackMap locals: int int
StackMap stack:
iload 11
iload 12
if_icmple 87
iload 11
goto 88
StackMap locals:
StackMap stack:
87: iload 12
StackMap locals:
StackMap stack: int
88: istore 13
start local 13 89: iload 13
ifle 115
90: new javax.print.attribute.standard.PrinterResolution
dup
iload 13
iload 13
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
areturn
end local 13 91: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.PrinterResolution
dup
iload 12
iload 11
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
areturn
end local 12 end local 11 92: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 97
93: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 11
start local 11 94: iload 11
iconst_1
iand
ifeq 96
95: getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
96: StackMap locals: int
StackMap stack:
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
end local 11 97: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrintQuality;
if_acmpne 103
98: iload 5
ifge 115
iload 5
bipush -4
if_icmplt 115
99: iload 5
tableswitch { // -4 - -3
-4: 100
-3: 101
default: 102
}
100: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrintQuality.HIGH:Ljavax/print/attribute/standard/PrintQuality;
areturn
101: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrintQuality.NORMAL:Ljavax/print/attribute/standard/PrintQuality;
areturn
102: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrintQuality.DRAFT:Ljavax/print/attribute/standard/PrintQuality;
areturn
103: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 109
104: ldc ""
astore 11
start local 11 105: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 11
106: goto 108
StackMap locals: sun.print.Win32PrintService java.lang.Class int[] int int int int int int int int java.lang.String
StackMap stack: java.lang.SecurityException
107: pop
108: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.RequestingUserName
dup
aload 11
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 11 109: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 113
110: iload 9
iconst_1
if_icmpne 112
111: getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
areturn
112: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
areturn
113: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 115
114: getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
areturn
115: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 10 end local 9 end local 8 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 116 0 this Lsun/print/Win32PrintService;
0 116 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
9 116 2 defaults [I
10 116 3 defPaper I
11 116 4 defYRes I
12 116 5 defQuality I
13 116 6 defCopies I
14 116 7 defOrient I
15 116 8 defSides I
16 116 9 defCollate I
17 116 10 defColor I
35 49 11 msn Ljavax/print/attribute/standard/MediaSizeName;
45 48 12 defIdObj Ljava/lang/Integer;
46 48 13 index I
51 67 11 msn Ljavax/print/attribute/standard/MediaSizeName;
55 67 12 prnArea [F
57 66 13 printableArea Ljavax/print/attribute/standard/MediaPrintableArea;
84 92 11 yRes I
85 92 12 xRes I
89 91 13 res I
94 97 11 caps I
105 109 11 userName Ljava/lang/String;
Exception table:
from to target type
57 63 64 Class java.lang.IllegalArgumentException
70 71 72 Class java.lang.SecurityException
73 74 75 Class java.net.URISyntaxException
105 106 107 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
private boolean isPostScriptFlavor(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 1
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/Win32PrintService;
0 5 1 flavor Ljavax/print/DocFlavor;
MethodParameters:
Name Flags
flavor
private boolean isPSDocAttr(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpeq 1
aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 2
1: StackMap locals:
StackMap stack:
iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
0 3 1 category Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
category
private boolean isAutoSense(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
1: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 3
2: aload 1
getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/Win32PrintService;
0 5 1 flavor Ljavax/print/DocFlavor;
MethodParameters:
Name Flags
flavor
public getSupportedAttributeValues(java.lang.Class<? extends javax.print.attribute.Attribute>, javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/Attribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
4: ldc " does not implement Attribute"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
aload 2
ifnull 14
7: aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 11
8: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
9: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
10: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
11: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifne 13
aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isPostScriptFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 14
12: aload 0
aload 1
invokevirtual sun.print.Win32PrintService.isPSDocAttr:(Ljava/lang/Class;)Z
ifeq 14
13: StackMap locals:
StackMap stack:
aconst_null
areturn
14: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.Win32PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 16
15: aconst_null
areturn
16: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 18
17: new javax.print.attribute.standard.JobName
dup
ldc "Java Printing"
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
18: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 24
19: ldc ""
astore 4
start local 4 20: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
21: goto 23
StackMap locals: sun.print.Win32PrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet java.lang.String
StackMap stack: java.lang.SecurityException
22: pop
23: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.RequestingUserName
dup
aload 4
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 4 24: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 29
25: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 4
start local 4 26: iload 4
iconst_1
iand
ifeq 28
27: getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
28: StackMap locals: int
StackMap stack:
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
areturn
end local 4 29: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 52
30: aload 2
ifnull 42
31: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
32: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
33: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
34: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
35: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
36: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
37: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
38: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
39: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
40: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 42
41: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 51
42: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 4
start local 4 43: iload 4
iconst_1
iand
ifne 47
44: iconst_1
anewarray javax.print.attribute.standard.Chromaticity
astore 5
start local 5 45: aload 5
iconst_0
getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
aastore
46: aload 5
areturn
end local 5 47: StackMap locals: int
StackMap stack:
iconst_2
anewarray javax.print.attribute.standard.Chromaticity
astore 5
start local 5 48: aload 5
iconst_0
getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
aastore
49: aload 5
iconst_1
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
aastore
50: aload 5
areturn
end local 5 end local 4 51: StackMap locals:
StackMap stack:
aconst_null
areturn
52: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 60
53: new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.prn"
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
invokevirtual java.io.File.toURI:()Ljava/net/URI;
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
54: areturn
55: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
56: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.prn"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
57: areturn
58: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
59: aconst_null
areturn
60: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 79
61: aload 2
ifnull 73
62: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
63: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
64: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
65: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
66: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
67: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
68: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
69: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
70: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
71: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 73
72: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 78
73: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.OrientationRequested
astore 4
start local 4 74: aload 4
iconst_0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
75: aload 4
iconst_1
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
76: aload 4
iconst_2
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
77: aload 4
areturn
end local 4 78: StackMap locals:
StackMap stack:
aconst_null
areturn
79: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpeq 81
80: aload 1
ldc Ljavax/print/attribute/standard/CopiesSupported;
if_acmpne 90
81: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
monitorenter
82: aload 0
getfield sun.print.Win32PrintService.gotCopies:Z
ifne 85
83: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
invokevirtual sun.print.Win32PrintService.getCopiesSupported:(Ljava/lang/String;Ljava/lang/String;)I
putfield sun.print.Win32PrintService.nCopies:I
84: aload 0
iconst_1
putfield sun.print.Win32PrintService.gotCopies:Z
85: StackMap locals: sun.print.Win32PrintService
StackMap stack:
aload 4
monitorexit
86: goto 89
StackMap locals:
StackMap stack: java.lang.Throwable
87: aload 4
monitorexit
88: athrow
89: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.CopiesSupported
dup
iconst_1
aload 0
getfield sun.print.Win32PrintService.nCopies:I
invokespecial javax.print.attribute.standard.CopiesSupported.<init>:(II)V
areturn
90: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 109
91: aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
92: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnonnull 93
iconst_0
goto 94
StackMap locals:
StackMap stack:
93: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
StackMap locals:
StackMap stack: int
94: istore 4
start local 4 95: aload 0
invokevirtual sun.print.Win32PrintService.getMediaTrays:()[Ljavax/print/attribute/standard/MediaTray;
astore 5
start local 5 96: iload 4
aload 5
ifnonnull 97
iconst_0
goto 98
StackMap locals: sun.print.Win32PrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet int javax.print.attribute.standard.MediaTray[]
StackMap stack: int
97: aload 5
arraylength
StackMap locals: sun.print.Win32PrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet int javax.print.attribute.standard.MediaTray[]
StackMap stack: int int
98: iadd
istore 4
99: iload 4
anewarray javax.print.attribute.standard.Media
astore 6
start local 6 100: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
ifnull 104
101: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aload 6
102: iconst_0
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
103: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
104: StackMap locals: javax.print.attribute.standard.Media[]
StackMap stack:
aload 5
ifnull 108
105: aload 5
iconst_0
aload 6
106: iload 4
aload 5
arraylength
isub
aload 5
arraylength
107: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
108: StackMap locals:
StackMap stack:
aload 6
areturn
end local 6 end local 5 end local 4 109: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 123
110: aconst_null
astore 4
start local 4 111: aload 3
ifnull 116
112: aload 3
ldc Ljavax/print/attribute/standard/Media;
invokeinterface javax.print.attribute.AttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.Media
113: dup
astore 4
ifnull 116
114: aload 4
instanceof javax.print.attribute.standard.MediaSizeName
ifne 116
115: aconst_null
astore 4
116: StackMap locals: javax.print.attribute.standard.Media
StackMap stack:
aload 0
aload 4
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual sun.print.Win32PrintService.getMediaPrintables:(Ljavax/print/attribute/standard/MediaSizeName;)[Ljavax/print/attribute/standard/MediaPrintableArea;
117: astore 5
start local 5 118: aload 5
ifnull 122
119: aload 5
arraylength
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 6
start local 6 120: aload 5
iconst_0
aload 6
iconst_0
aload 5
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
121: aload 6
areturn
end local 6 122: StackMap locals: javax.print.attribute.standard.MediaPrintableArea[]
StackMap stack:
aconst_null
areturn
end local 5 end local 4 123: StackMap locals:
StackMap stack:
aload 1
ldc Lsun/print/SunAlternateMedia;
if_acmpne 127
124: new sun.print.SunAlternateMedia
dup
125: aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.Win32PrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
126: invokespecial sun.print.SunAlternateMedia.<init>:(Ljavax/print/attribute/standard/Media;)V
areturn
127: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 135
128: aload 2
ifnull 131
129: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 131
130: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 134
131: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.PageRanges
astore 4
start local 4 132: aload 4
iconst_0
new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
aastore
133: aload 4
areturn
end local 4 134: StackMap locals:
StackMap stack:
aconst_null
areturn
135: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 143
136: aload 0
invokevirtual sun.print.Win32PrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 4
start local 4 137: aload 4
ifnonnull 139
138: aconst_null
areturn
139: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
aload 4
arraylength
anewarray javax.print.attribute.standard.PrinterResolution
140: astore 5
start local 5 141: aload 4
iconst_0
aload 5
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
142: aload 5
areturn
end local 5 end local 4 143: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 153
144: aload 2
ifnull 147
145: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 147
146: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 152
147: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.Sides
astore 4
start local 4 148: aload 4
iconst_0
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
149: aload 4
iconst_1
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
150: aload 4
iconst_2
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
151: aload 4
areturn
end local 4 152: StackMap locals:
StackMap stack:
aconst_null
areturn
153: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrintQuality;
if_acmpne 159
154: iconst_3
anewarray javax.print.attribute.standard.PrintQuality
astore 4
start local 4 155: aload 4
iconst_0
getstatic javax.print.attribute.standard.PrintQuality.DRAFT:Ljavax/print/attribute/standard/PrintQuality;
aastore
156: aload 4
iconst_1
getstatic javax.print.attribute.standard.PrintQuality.HIGH:Ljavax/print/attribute/standard/PrintQuality;
aastore
157: aload 4
iconst_2
getstatic javax.print.attribute.standard.PrintQuality.NORMAL:Ljavax/print/attribute/standard/PrintQuality;
aastore
158: aload 4
areturn
end local 4 159: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 168
160: aload 2
ifnull 163
161: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 163
162: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 167
163: StackMap locals:
StackMap stack:
iconst_2
anewarray javax.print.attribute.standard.SheetCollate
astore 4
start local 4 164: aload 4
iconst_0
getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
165: aload 4
iconst_1
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
166: aload 4
areturn
end local 4 167: StackMap locals:
StackMap stack:
aconst_null
areturn
168: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 173
169: iconst_2
anewarray javax.print.attribute.standard.Fidelity
astore 4
start local 4 170: aload 4
iconst_0
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
171: aload 4
iconst_1
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
aastore
172: aload 4
areturn
end local 4 173: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 174 0 this Lsun/print/Win32PrintService;
0 174 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
0 174 2 flavor Ljavax/print/DocFlavor;
0 174 3 attributes Ljavax/print/attribute/AttributeSet;
20 24 4 userName Ljava/lang/String;
26 29 4 caps I
43 51 4 caps I
45 47 5 arr [Ljavax/print/attribute/standard/Chromaticity;
48 51 5 arr [Ljavax/print/attribute/standard/Chromaticity;
74 78 4 arr [Ljavax/print/attribute/standard/OrientationRequested;
95 109 4 len I
96 109 5 trays [Ljavax/print/attribute/standard/MediaTray;
100 109 6 arr [Ljavax/print/attribute/standard/Media;
111 123 4 mediaName Ljavax/print/attribute/standard/Media;
118 123 5 mpas [Ljavax/print/attribute/standard/MediaPrintableArea;
120 122 6 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
132 134 4 arr [Ljavax/print/attribute/standard/PageRanges;
137 143 4 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
141 143 5 arr [Ljavax/print/attribute/standard/PrinterResolution;
148 152 4 arr [Ljavax/print/attribute/standard/Sides;
155 159 4 arr [Ljavax/print/attribute/standard/PrintQuality;
164 167 4 arr [Ljavax/print/attribute/standard/SheetCollate;
170 173 4 arr [Ljavax/print/attribute/standard/Fidelity;
Exception table:
from to target type
20 21 22 Class java.lang.SecurityException
53 54 55 Class java.lang.SecurityException
56 57 58 Class java.net.URISyntaxException
82 86 87 any
87 88 87 any
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
flavor
attributes
public boolean isAttributeValueSupported(javax.print.attribute.Attribute, javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "null attribute"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 4
start local 4 3: aload 2
ifnull 11
4: aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 8
5: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
6: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
7: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifne 10
aload 0
aload 2
invokevirtual sun.print.Win32PrintService.isPostScriptFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 11
9: aload 0
aload 4
invokevirtual sun.print.Win32PrintService.isPSDocAttr:(Ljava/lang/Class;)Z
ifeq 11
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 0
aload 4
invokevirtual sun.print.Win32PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 32
14: aload 2
ifnull 26
15: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
16: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
17: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
18: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
19: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
20: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
21: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
22: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
23: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
24: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 26
25: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 31
26: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 5
start local 5 27: iload 5
iconst_1
iand
ifeq 29
28: iconst_1
ireturn
29: StackMap locals: int
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 30
iconst_1
ireturn
StackMap locals:
StackMap stack:
30: iconst_0
ireturn
end local 5 31: StackMap locals:
StackMap stack:
iconst_0
ireturn
32: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 34
33: aload 0
aload 1
checkcast javax.print.attribute.standard.Copies
invokevirtual sun.print.Win32PrintService.isSupportedCopies:(Ljavax/print/attribute/standard/Copies;)Z
ireturn
34: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 40
35: aload 1
checkcast javax.print.attribute.standard.Destination
invokevirtual javax.print.attribute.standard.Destination.getURI:()Ljava/net/URI;
astore 5
start local 5 36: ldc "file"
aload 5
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 39
37: aload 5
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 39
38: iconst_1
ireturn
39: StackMap locals: java.net.URI
StackMap stack:
iconst_0
ireturn
end local 5 40: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 45
41: aload 1
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 43
42: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual sun.print.Win32PrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ireturn
43: StackMap locals:
StackMap stack:
aload 1
instanceof javax.print.attribute.standard.MediaTray
ifeq 98
44: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaTray
invokevirtual sun.print.Win32PrintService.isSupportedMediaTray:(Ljavax/print/attribute/standard/MediaTray;)Z
ireturn
45: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 47
46: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaPrintableArea
invokevirtual sun.print.Win32PrintService.isSupportedMediaPrintableArea:(Ljavax/print/attribute/standard/MediaPrintableArea;)Z
ireturn
47: StackMap locals:
StackMap stack:
aload 4
ldc Lsun/print/SunAlternateMedia;
if_acmpne 50
48: aload 1
checkcast sun.print.SunAlternateMedia
invokevirtual sun.print.SunAlternateMedia.getMedia:()Ljavax/print/attribute/standard/Media;
astore 5
start local 5 49: aload 0
aload 5
aload 2
aload 3
invokevirtual sun.print.Win32PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ireturn
end local 5 50: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpeq 53
51: aload 4
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpeq 53
52: aload 4
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 57
53: StackMap locals:
StackMap stack:
aload 2
ifnull 98
54: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
55: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
56: iconst_0
ireturn
57: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/PrinterResolution;
if_acmpne 60
58: aload 1
instanceof javax.print.attribute.standard.PrinterResolution
ifeq 98
59: aload 0
aload 1
checkcast javax.print.attribute.standard.PrinterResolution
invokevirtual sun.print.Win32PrintService.isSupportedResolution:(Ljavax/print/attribute/standard/PrinterResolution;)Z
ireturn
60: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 75
61: aload 1
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpeq 74
62: aload 2
ifnull 98
63: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
64: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
65: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
66: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
67: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
68: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
69: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
70: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
71: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
72: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
73: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 98
74: StackMap locals:
StackMap stack:
iconst_0
ireturn
75: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 83
76: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 5
start local 5 77: iload 5
iconst_1
iand
ifeq 78
iconst_1
goto 79
StackMap locals: int
StackMap stack:
78: iconst_0
StackMap locals:
StackMap stack: int
79: istore 6
start local 6 80: iload 6
ifne 81
aload 1
getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
if_acmpeq 82
81: StackMap locals: int
StackMap stack:
iload 6
ifeq 98
aload 1
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 98
82: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 end local 5 83: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/DialogTypeSelection;
if_acmpne 85
84: iconst_1
ireturn
85: StackMap locals:
StackMap stack:
aload 4
ldc Ljavax/print/attribute/standard/DialogOwner;
if_acmpne 98
86: aload 1
checkcast javax.print.attribute.standard.DialogOwner
astore 5
start local 5 87: aload 3
ifnonnull 88
aconst_null
goto 89
88: StackMap locals: javax.print.attribute.standard.DialogOwner
StackMap stack:
aload 3
ldc Ljavax/print/attribute/standard/DialogTypeSelection;
invokeinterface javax.print.attribute.AttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.DialogTypeSelection
89: StackMap locals:
StackMap stack: javax.print.attribute.standard.DialogTypeSelection
astore 6
start local 6 90: aload 6
getstatic javax.print.attribute.standard.DialogTypeSelection.NATIVE:Ljavax/print/attribute/standard/DialogTypeSelection;
if_acmpne 93
91: aload 5
invokestatic sun.print.DialogOwnerAccessor.getID:(Ljavax/print/attribute/standard/DialogOwner;)J
lconst_0
lcmp
ifeq 92
iconst_1
ireturn
StackMap locals: javax.print.attribute.standard.DialogTypeSelection
StackMap stack:
92: iconst_0
ireturn
93: StackMap locals:
StackMap stack:
aload 5
invokestatic sun.print.DialogOwnerAccessor.getID:(Ljavax/print/attribute/standard/DialogOwner;)J
lconst_0
lcmp
ifeq 95
94: iconst_0
ireturn
95: StackMap locals:
StackMap stack:
aload 5
invokevirtual javax.print.attribute.standard.DialogOwner.getOwner:()Ljava/awt/Window;
ifnull 97
96: iconst_1
ireturn
97: StackMap locals:
StackMap stack:
invokestatic java.awt.Toolkit.getDefaultToolkit:()Ljava/awt/Toolkit;
invokevirtual java.awt.Toolkit.isAlwaysOnTopSupported:()Z
ireturn
end local 6 end local 5 98: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 99 0 this Lsun/print/Win32PrintService;
0 99 1 attr Ljavax/print/attribute/Attribute;
0 99 2 flavor Ljavax/print/DocFlavor;
0 99 3 attributes Ljavax/print/attribute/AttributeSet;
3 99 4 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
27 31 5 caps I
36 40 5 uri Ljava/net/URI;
49 50 5 media Ljavax/print/attribute/standard/Media;
77 83 5 caps I
80 83 6 isColorSup Z
87 98 5 owner Ljavax/print/attribute/standard/DialogOwner;
90 98 6 dts Ljavax/print/attribute/standard/DialogTypeSelection;
MethodParameters:
Name Flags
attr
flavor
attributes
public javax.print.attribute.AttributeSet getUnsupportedAttributes(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljavax/print/attribute/AttributeSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnull 4
aload 0
aload 1
invokevirtual sun.print.Win32PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "flavor "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
2: ldc " is not supported"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 2
ifnonnull 6
5: aconst_null
areturn
6: StackMap locals:
StackMap stack:
new javax.print.attribute.HashAttributeSet
dup
invokespecial javax.print.attribute.HashAttributeSet.<init>:()V
astore 4
start local 4 7: aload 2
invokeinterface javax.print.attribute.AttributeSet.toArray:()[Ljavax/print/attribute/Attribute;
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 19
10: StackMap locals: sun.print.Win32PrintService javax.print.DocFlavor javax.print.attribute.AttributeSet top javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
aload 5
iload 6
aaload
astore 3
start local 3 11: aload 0
aload 3
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
invokevirtual sun.print.Win32PrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 14
12: aload 4
aload 3
invokeinterface javax.print.attribute.AttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
13: goto 18
14: StackMap locals: sun.print.Win32PrintService javax.print.DocFlavor javax.print.attribute.AttributeSet javax.print.attribute.Attribute javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
aload 0
aload 3
aload 1
aload 2
invokevirtual sun.print.Win32PrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
ifne 18
15: aload 4
aload 3
invokeinterface javax.print.attribute.AttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
16: goto 18
end local 3 StackMap locals: sun.print.Win32PrintService javax.print.DocFlavor javax.print.attribute.AttributeSet top javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack: java.lang.ClassCastException
17: pop
18: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
19: iload 6
aload 5
arraylength
if_icmplt 10
end local 6 20: aload 4
invokeinterface javax.print.attribute.AttributeSet.isEmpty:()Z
ifeq 22
21: aconst_null
areturn
22: StackMap locals:
StackMap stack:
aload 4
areturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lsun/print/Win32PrintService;
0 23 1 flavor Ljavax/print/DocFlavor;
0 23 2 attributes Ljavax/print/attribute/AttributeSet;
11 17 3 attr Ljavax/print/attribute/Attribute;
7 23 4 unsupp Ljavax/print/attribute/AttributeSet;
8 23 5 attrs [Ljavax/print/attribute/Attribute;
9 20 6 i I
Exception table:
from to target type
10 16 17 Class java.lang.ClassCastException
MethodParameters:
Name Flags
flavor
attributes
private synchronized sun.print.DocumentPropertiesUI getDocumentPropertiesUI();
descriptor: ()Lsun/print/DocumentPropertiesUI;
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.print.Win32PrintService$Win32DocumentPropertiesUI
dup
aload 0
invokespecial sun.print.Win32PrintService$Win32DocumentPropertiesUI.<init>:(Lsun/print/Win32PrintService;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32PrintService;
public synchronized javax.print.ServiceUIFactory getServiceUIFactory();
descriptor: ()Ljavax/print/ServiceUIFactory;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.print.Win32PrintService.uiFactory:Lsun/print/Win32PrintService$Win32ServiceUIFactory;
ifnonnull 2
1: aload 0
new sun.print.Win32PrintService$Win32ServiceUIFactory
dup
aload 0
invokespecial sun.print.Win32PrintService$Win32ServiceUIFactory.<init>:(Lsun/print/Win32PrintService;)V
putfield sun.print.Win32PrintService.uiFactory:Lsun/print/Win32PrintService$Win32ServiceUIFactory;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.uiFactory:Lsun/print/Win32PrintService$Win32ServiceUIFactory;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/Win32PrintService;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Win32 Printer : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.print.Win32PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32PrintService;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpeq 4
1: aload 1
instanceof sun.print.Win32PrintService
ifeq 3
2: aload 1
checkcast sun.print.Win32PrintService
invokevirtual sun.print.Win32PrintService.getName:()Ljava/lang/String;
aload 0
invokevirtual sun.print.Win32PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/Win32PrintService;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
aload 0
invokevirtual sun.print.Win32PrintService.getName:()Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/Win32PrintService;
public boolean usesClass(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ldc Lsun/awt/windows/WPrinterJob;
if_acmpne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/Win32PrintService;
0 2 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
private native int[] getAllMediaIDs(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int[] getAllMediaSizes(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int[] getAllMediaTrays(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native float[] getMediaPrintableArea(java.lang.String, int);
descriptor: (Ljava/lang/String;I)[F
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
paperSize
private native java.lang.String[] getAllMediaNames(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native java.lang.String[] getAllMediaTrayNames(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int getCopiesSupported(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int[] getAllResolutions(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int getCapabilities(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int[] getDefaultSettings(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)[I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
port
private native int getJobStatus(java.lang.String, int);
descriptor: (Ljava/lang/String;I)I
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
type
private native java.lang.String getPrinterPort(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0102) ACC_PRIVATE, ACC_NATIVE
MethodParameters:
Name Flags
printerName
}
SourceFile: "Win32PrintService.java"
NestMembers:
sun.print.Win32PrintService$Win32DocumentPropertiesUI sun.print.Win32PrintService$Win32ServiceUIFactory
InnerClasses:
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
private Win32DocumentPropertiesUI = sun.print.Win32PrintService$Win32DocumentPropertiesUI of sun.print.Win32PrintService
private Win32ServiceUIFactory = sun.print.Win32PrintService$Win32ServiceUIFactory of sun.print.Win32PrintService