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
private static java.lang.Class[] otherAttrCats;
descriptor: [Ljava/lang/Class;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
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 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 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 java.util.ArrayList idList;
descriptor: Ljava/util/ArrayList;
flags: (0x0002) ACC_PRIVATE
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 14
anewarray javax.print.DocFlavor
dup
iconst_0
1: getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
2: getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
3: getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
aastore
dup
iconst_3
4: getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_4
5: getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_5
6: getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 6
7: getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 7
8: getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 8
9: getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 9
10: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 10
11: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 11
12: getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 12
13: getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 13
14: getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
15: putstatic sun.print.Win32PrintService.supportedFlavors:[Ljavax/print/DocFlavor;
16: iconst_4
anewarray java.lang.Class
dup
iconst_0
17: ldc Ljavax/print/attribute/standard/PrinterName;
aastore
dup
iconst_1
18: ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
aastore
dup
iconst_2
19: ldc Ljavax/print/attribute/standard/QueuedJobCount;
aastore
dup
iconst_3
20: ldc Ljavax/print/attribute/standard/ColorSupported;
aastore
21: putstatic sun.print.Win32PrintService.serviceAttrCats:[Ljava/lang/Class;
22: bipush 12
anewarray java.lang.Class
dup
iconst_0
23: ldc Ljavax/print/attribute/standard/JobName;
aastore
dup
iconst_1
24: ldc Ljavax/print/attribute/standard/RequestingUserName;
aastore
dup
iconst_2
25: ldc Ljavax/print/attribute/standard/Copies;
aastore
dup
iconst_3
26: ldc Ljavax/print/attribute/standard/Destination;
aastore
dup
iconst_4
27: ldc Ljavax/print/attribute/standard/OrientationRequested;
aastore
dup
iconst_5
28: ldc Ljavax/print/attribute/standard/PageRanges;
aastore
dup
bipush 6
29: ldc Ljavax/print/attribute/standard/Media;
aastore
dup
bipush 7
30: ldc Ljavax/print/attribute/standard/MediaPrintableArea;
aastore
dup
bipush 8
31: ldc Ljavax/print/attribute/standard/Fidelity;
aastore
dup
bipush 9
32: ldc Ljavax/print/attribute/standard/SheetCollate;
aastore
dup
bipush 10
33: ldc Lsun/print/SunAlternateMedia;
aastore
dup
bipush 11
34: ldc Ljavax/print/attribute/standard/Chromaticity;
aastore
35: putstatic sun.print.Win32PrintService.otherAttrCats:[Ljava/lang/Class;
36: bipush 44
anewarray javax.print.attribute.standard.MediaSizeName
dup
iconst_0
37: 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
38: 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
39: 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
40: 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
41: 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
42: 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
43: 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
44: 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
45: 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
46: 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
47: 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
48: 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
49: 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
50: 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
51: 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
52: 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
53: 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
54: 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
55: 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
56: 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
57: 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
58: 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
59: putstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
60: bipush 15
anewarray javax.print.attribute.standard.MediaTray
dup
iconst_0
61: 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
62: 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
63: getstatic sun.print.Win32MediaTray.AUTO:Lsun/print/Win32MediaTray;
aastore
dup
bipush 7
getstatic sun.print.Win32MediaTray.TRACTOR:Lsun/print/Win32MediaTray;
aastore
dup
bipush 8
64: 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
65: getstatic javax.print.attribute.standard.MediaTray.LARGE_CAPACITY:Ljavax/print/attribute/standard/MediaTray;
aastore
dup
bipush 13
66: 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
67: putstatic sun.print.Win32PrintService.dmPaperBinToPrintService:[Ljavax/print/attribute/standard/MediaTray;
68: iconst_2
putstatic sun.print.Win32PrintService.DM_PAPERSIZE:I
69: sipush 1024
putstatic sun.print.Win32PrintService.DM_PRINTQUALITY:I
70: sipush 8192
putstatic sun.print.Win32PrintService.DM_YRESOLUTION:I
71: 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 1
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "null printer name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: sun.print.Win32PrintService java.lang.String
StackMap stack:
aload 0
aload 1
putfield sun.print.Win32PrintService.printer:Ljava/lang/String;
5: aload 0
iconst_0
putfield sun.print.Win32PrintService.mediaInitialized:Z
6: aload 0
iconst_0
putfield sun.print.Win32PrintService.gotTrays:Z
7: aload 0
iconst_0
putfield sun.print.Win32PrintService.gotCopies:Z
8: aload 0
iconst_0
putfield sun.print.Win32PrintService.isInvalid:Z
9: aload 0
aconst_null
putfield sun.print.Win32PrintService.printRes:[Ljavax/print/attribute/standard/PrinterResolution;
10: aload 0
iconst_0
putfield sun.print.Win32PrintService.prnCaps:I
11: aload 0
aconst_null
putfield sun.print.Win32PrintService.defaultSettings:[I
12: aload 0
aconst_null
putfield sun.print.Win32PrintService.port:Ljava/lang/String;
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/print/Win32PrintService;
0 14 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:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/print/Win32PrintService;
0 16 1 msn Ljavax/print/attribute/standard/MediaSizeName;
2 3 2 winMedia Lsun/print/Win32MediaSize;
4 9 2 id I
MethodParameters:
Name Flags
msn
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 6
iload 1
getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmpgt 6
1: iload 1
lookupswitch { // 3
66: 2
70: 3
88: 4
default: 5
}
2: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A2:Ljavax/print/attribute/standard/MediaSizeName;
areturn
3: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A6:Ljavax/print/attribute/standard/MediaSizeName;
areturn
4: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.JIS_B6:Ljavax/print/attribute/standard/MediaSizeName;
areturn
5: StackMap locals:
StackMap stack:
getstatic sun.print.Win32PrintService.dmPaperToPrintService:[Ljavax/print/attribute/standard/MediaSizeName;
iload 1
iconst_1
isub
aaload
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);
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;
0 9 2 mediaName Ljavax/print/attribute/standard/MediaSizeName;
3 6 3 msn Ljavax/print/attribute/standard/MediaSizeName;
1 7 4 i I
MethodParameters:
Name Flags
msnList
mediaName
private synchronized void initMedia();
descriptor: ()V
flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
Code:
stack=7, locals=12, 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: iconst_0
istore 6
start local 6 9: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
10: iconst_0
istore 8
start local 8 11: goto 14
12: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top int top int
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
new java.lang.Integer
dup
aload 1
iload 8
iaload
invokespecial java.lang.Integer.<init>:(I)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
13: iinc 8 1
StackMap locals:
StackMap stack:
14: iload 8
aload 1
arraylength
if_icmplt 12
end local 8 15: aload 0
aload 0
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
aload 1
invokevirtual sun.print.Win32PrintService.getMediaSizes:(Ljava/util/ArrayList;[I)[Ljavax/print/attribute/standard/MediaSize;
putfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
16: iconst_0
istore 8
start local 8 17: goto 50
18: StackMap locals:
StackMap stack:
aload 0
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
iload 8
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 9
start local 9 22: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 8
aaload
astore 10
start local 10 23: sipush 2540
istore 11
start local 11 24: aload 9
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
aload 10
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
fsub
invokestatic java.lang.Math.abs:(F)F
iload 11
i2f
fcmpl
ifgt 26
25: aload 9
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
aload 10
iconst_1
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
fsub
invokestatic java.lang.Math.abs:(F)F
iload 11
i2f
fcmpl
ifle 27
26: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList javax.print.attribute.standard.MediaSizeName top int top int javax.print.attribute.standard.MediaSize javax.print.attribute.standard.MediaSize int
StackMap stack:
aconst_null
astore 4
end local 11 end local 10 end local 9 27: StackMap locals:
StackMap stack:
aload 4
ifnonnull 29
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 29
28: aload 0
getfield sun.print.Win32PrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSize;
iload 8
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
astore 4
29: StackMap locals:
StackMap stack:
aload 4
ifnull 49
30: aload 0
aload 2
aload 4
invokevirtual sun.print.Win32PrintService.addToUniqueList:(Ljava/util/ArrayList;Ljavax/print/attribute/standard/MediaSizeName;)Z
istore 5
start local 5 31: iload 5
ifeq 49
iload 6
ifne 49
32: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
33: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
iload 8
invokevirtual java.util.ArrayList.get:(I)Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
34: invokevirtual sun.print.Win32PrintService.getMediaPrintableArea:(Ljava/lang/String;I)[F
astore 7
start local 7 35: aload 7
ifnull 47
36: new javax.print.attribute.standard.MediaPrintableArea
dup
aload 7
iconst_0
faload
37: aload 7
iconst_1
faload
38: aload 7
iconst_2
faload
39: aload 7
iconst_3
faload
40: sipush 25400
41: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
42: astore 9
start local 9 43: aload 3
aload 9
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 9 44: goto 49
StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList javax.print.attribute.standard.MediaSizeName int int float[] int
StackMap stack: java.lang.IllegalArgumentException
45: pop
46: goto 49
47: StackMap locals:
StackMap stack:
iload 8
ifne 49
48: iconst_1
istore 6
end local 7 end local 5 49: StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList javax.print.attribute.standard.MediaSizeName top int top int
StackMap stack:
iinc 8 1
end local 4 StackMap locals: sun.print.Win32PrintService int[] java.util.ArrayList java.util.ArrayList top top int top int
StackMap stack:
50: iload 8
aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.size:()I
if_icmplt 18
end local 8 51: 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;
52: 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
53: aload 0
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaPrintableArea
putfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
54: aload 3
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
55: return
end local 6 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 56 0 this Lsun/print/Win32PrintService;
4 56 1 media [I
7 56 2 msnList Ljava/util/ArrayList;
8 56 3 printableList Ljava/util/ArrayList;
19 50 4 mediaName Ljavax/print/attribute/standard/MediaSizeName;
31 49 5 added Z
9 56 6 queryFailure Z
35 49 7 prnArea [F
11 15 8 i I
17 51 8 i I
22 27 9 win32Size Ljavax/print/attribute/standard/MediaSize;
23 27 10 driverSize Ljavax/print/attribute/standard/MediaSize;
24 27 11 error I
43 44 9 mpa Ljavax/print/attribute/standard/MediaPrintableArea;
Exception table:
from to target type
36 44 45 Class java.lang.IllegalArgumentException
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
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, int[]);
descriptor: (Ljava/util/ArrayList;[I)[Ljavax/print/attribute/standard/MediaSize;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=15, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual sun.print.Win32PrintService.getPort:()Ljava/lang/String;
astore 3
start local 3 1: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 3
invokevirtual sun.print.Win32PrintService.getAllMediaSizes:(Ljava/lang/String;Ljava/lang/String;)[I
astore 4
start local 4 2: aload 0
aload 0
getfield sun.print.Win32PrintService.printer:Ljava/lang/String;
aload 3
invokevirtual sun.print.Win32PrintService.getAllMediaNames:(Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
astore 5
start local 5 3: aconst_null
astore 6
start local 6 4: aconst_null
astore 7
start local 7 5: aload 4
ifnull 6
aload 5
ifnonnull 7
6: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize
StackMap stack:
aconst_null
areturn
7: StackMap locals:
StackMap stack:
aload 4
arraylength
iconst_2
idiv
istore 10
start local 10 8: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 11
start local 11 9: iconst_0
istore 12
start local 12 10: goto 34
11: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] 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 4
iload 12
iconst_2
imul
iaload
i2f
ldc 10.0
fdiv
fstore 8
start local 8 12: aload 4
iload 12
iconst_2
imul
iconst_1
iadd
iaload
i2f
ldc 10.0
fdiv
fstore 9
start local 9 13: fload 8
fconst_0
fcmpg
ifle 14
fload 9
fconst_0
fcmpg
ifgt 18
14: StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] 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 10
aload 2
arraylength
if_icmpne 33
15: new java.lang.Integer
dup
aload 2
iload 12
iaload
invokespecial java.lang.Integer.<init>:(I)V
astore 13
start local 13 16: aload 1
aload 1
aload 13
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
invokevirtual java.util.ArrayList.remove:(I)Ljava/lang/Object;
pop
end local 13 17: goto 33
18: StackMap locals:
StackMap stack:
aload 0
fload 8
fload 9
invokevirtual sun.print.Win32PrintService.findMatchingMediaSizeNameMM:(FF)Ljavax/print/attribute/standard/MediaSizeName;
astore 6
19: aload 6
ifnull 21
20: aload 6
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 7
21: StackMap locals:
StackMap stack:
aload 7
ifnull 24
22: aload 11
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
23: goto 33
24: StackMap locals:
StackMap stack:
new sun.print.Win32MediaSize
dup
aload 5
iload 12
aaload
aload 2
iload 12
iaload
invokespecial sun.print.Win32MediaSize.<init>:(Ljava/lang/String;I)V
25: astore 13
start local 13 26: new javax.print.attribute.standard.MediaSize
dup
fload 8
fload 9
sipush 1000
aload 13
invokespecial javax.print.attribute.standard.MediaSize.<init>:(FFILjavax/print/attribute/standard/MediaSizeName;)V
astore 7
27: aload 11
aload 7
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
28: goto 33
StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] java.lang.String int[] java.lang.String[] javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize float float int java.util.ArrayList int sun.print.Win32MediaSize
StackMap stack: java.lang.IllegalArgumentException
29: pop
30: iload 10
aload 2
arraylength
if_icmpne 33
31: new java.lang.Integer
dup
aload 2
iload 12
iaload
invokespecial java.lang.Integer.<init>:(I)V
astore 14
start local 14 32: 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 end local 13 33: StackMap locals:
StackMap stack:
iinc 12 1
aconst_null
astore 7
end local 9 end local 8 StackMap locals: sun.print.Win32PrintService java.util.ArrayList int[] 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:
34: iload 12
iload 10
if_icmplt 11
end local 12 35: aload 11
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.MediaSize
astore 12
start local 12 36: aload 11
aload 12
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
pop
37: aload 12
areturn
end local 12 end local 11 end local 10 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 38 0 this Lsun/print/Win32PrintService;
0 38 1 idList Ljava/util/ArrayList;
0 38 2 media [I
1 38 3 prnPort Ljava/lang/String;
2 38 4 mediaSz [I
3 38 5 winMediaNames [Ljava/lang/String;
4 38 6 msn Ljavax/print/attribute/standard/MediaSizeName;
5 38 7 ms Ljavax/print/attribute/standard/MediaSize;
12 34 8 wid F
13 34 9 ht F
8 38 10 nMedia I
9 38 11 msList Ljava/util/ArrayList;
10 35 12 i I
16 17 13 remObj Ljava/lang/Integer;
26 33 13 wms Lsun/print/Win32MediaSize;
32 33 14 remObj Ljava/lang/Integer;
36 38 12 arr2 [Ljavax/print/attribute/standard/MediaSize;
Exception table:
from to target type
26 28 29 Class java.lang.IllegalArgumentException
MethodParameters:
Name Flags
idList
media
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=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.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
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.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaPrintableArea.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.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
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 mpa Ljavax/print/attribute/standard/MediaPrintableArea;
3 8 2 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 20
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 20
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
18: aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.attribute.standard.PrinterResolution
19: 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 20: 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 21 0 this Lsun/print/Win32PrintService;
2 20 1 prnRes [I
6 20 2 nRes I
7 20 3 arrList Ljava/util/ArrayList;
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:
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 17 0 this Lsun/print/Win32PrintService;
1 17 1 categList Ljava/util/ArrayList;
2 6 2 i I
7 17 2 caps I
11 13 3 defaults [I
14 17 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=13, 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 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 20
17: iload 6
ifle 19
18: new javax.print.attribute.standard.Copies
dup
iload 6
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
19: StackMap locals: sun.print.Win32PrintService java.lang.Class 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
20: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 25
21: aload 0
invokevirtual sun.print.Win32PrintService.getPrinterCapabilities:()I
istore 10
start local 10 22: iload 10
iconst_1
iand
ifne 24
23: getstatic javax.print.attribute.standard.Chromaticity.MONOCHROME:Ljavax/print/attribute/standard/Chromaticity;
areturn
24: StackMap locals: int
StackMap stack:
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
areturn
end local 10 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 10
start local 10 35: aload 10
ifnull 40
36: aload 0
aload 10
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 10
38: aload 0
aload 10
invokevirtual sun.print.Win32PrintService.findPaperID:(Ljavax/print/attribute/standard/MediaSizeName;)I
istore 3
39: StackMap locals: javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 10
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: new java.lang.Integer
dup
iload 3
invokespecial java.lang.Integer.<init>:(I)V
astore 11
start local 11 45: aload 0
getfield sun.print.Win32PrintService.idList:Ljava/util/ArrayList;
aload 11
invokevirtual java.util.ArrayList.indexOf:(Ljava/lang/Object;)I
istore 12
start local 12 46: iload 12
iflt 48
iload 12
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 12
aaload
invokevirtual javax.print.attribute.standard.MediaSize.getMediaSizeName:()Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 12 end local 11 48: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aaload
areturn
end local 10 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 10
start local 10 51: aload 10
ifnull 54
52: aload 0
aload 10
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 11
start local 11 55: aload 11
ifnull 66
56: aconst_null
astore 12
start local 12 57: new javax.print.attribute.standard.MediaPrintableArea
dup
aload 11
iconst_0
faload
58: aload 11
iconst_1
faload
59: aload 11
iconst_2
faload
60: aload 11
iconst_3
faload
61: sipush 25400
62: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
astore 12
63: goto 65
StackMap locals: sun.print.Win32PrintService java.lang.Class 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 12
areturn
end local 12 66: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 11 end local 10 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 10
start local 10 84: iload 5
istore 11
start local 11 85: iload 11
iflt 86
iload 10
ifge 91
86: StackMap locals: int int
StackMap stack:
iload 10
iload 11
if_icmple 87
iload 10
goto 88
StackMap locals:
StackMap stack:
87: iload 11
StackMap locals:
StackMap stack: int
88: istore 12
start local 12 89: iload 12
ifle 115
90: new javax.print.attribute.standard.PrinterResolution
dup
iload 12
iload 12
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
areturn
end local 12 91: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.PrinterResolution
dup
iload 11
iload 10
bipush 100
invokespecial javax.print.attribute.standard.PrinterResolution.<init>:(III)V
areturn
end local 11 end local 10 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 10
start local 10 94: iload 10
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 10 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 10
start local 10 105: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
106: goto 108
StackMap locals: sun.print.Win32PrintService java.lang.Class 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 10
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 10 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 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
22 25 10 caps I
35 49 10 msn Ljavax/print/attribute/standard/MediaSizeName;
45 48 11 defIdObj Ljava/lang/Integer;
46 48 12 index I
51 67 10 msn Ljavax/print/attribute/standard/MediaSizeName;
55 67 11 prnArea [F
57 66 12 printableArea Ljavax/print/attribute/standard/MediaPrintableArea;
84 92 10 yRes I
85 92 11 xRes I
89 91 12 res I
94 97 10 caps I
105 109 10 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;
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=9, 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: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
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 141
110: aload 0
invokevirtual sun.print.Win32PrintService.initMedia:()V
111: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
ifnonnull 113
112: aconst_null
areturn
113: StackMap locals:
StackMap stack:
aload 3
ifnull 137
114: 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
115: dup
astore 4
start local 4 116: ifnull 137
117: aload 4
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 137
118: iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 5
start local 5 119: aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
if_icmpne 127
120: iconst_0
istore 6
start local 6 121: goto 126
122: StackMap locals: javax.print.attribute.standard.Media javax.print.attribute.standard.MediaPrintableArea[] int
StackMap stack:
aload 4
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
iload 6
aaload
invokevirtual javax.print.attribute.standard.Media.equals:(Ljava/lang/Object;)Z
ifeq 125
123: aload 5
iconst_0
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 6
aaload
aastore
124: aload 5
areturn
125: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
126: iload 6
aload 0
getfield sun.print.Win32PrintService.mediaSizeNames:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 122
end local 6 127: StackMap locals:
StackMap stack:
aload 4
checkcast javax.print.attribute.standard.MediaSizeName
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
128: astore 6
start local 6 129: aload 6
ifnull 136
130: aload 5
iconst_0
new javax.print.attribute.standard.MediaPrintableArea
dup
fconst_0
fconst_0
131: aload 6
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
132: aload 6
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
133: sipush 25400
invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
134: aastore
135: aload 5
areturn
136: StackMap locals: javax.print.attribute.standard.MediaSize
StackMap stack:
aconst_null
areturn
end local 6 end local 5 end local 4 137: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
anewarray javax.print.attribute.standard.MediaPrintableArea
138: astore 5
start local 5 139: aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
iconst_0
aload 5
iconst_0
aload 0
getfield sun.print.Win32PrintService.mediaPrintables:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
140: aload 5
areturn
end local 5 141: StackMap locals:
StackMap stack:
aload 1
ldc Lsun/print/SunAlternateMedia;
if_acmpne 145
142: new sun.print.SunAlternateMedia
dup
143: 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
144: invokespecial sun.print.SunAlternateMedia.<init>:(Ljavax/print/attribute/standard/Media;)V
areturn
145: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 153
146: aload 2
ifnull 149
147: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 149
148: 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
149: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.PageRanges
astore 4
start local 4 150: 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
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/PrinterResolution;
if_acmpne 161
154: aload 0
invokevirtual sun.print.Win32PrintService.getPrintResolutions:()[Ljavax/print/attribute/standard/PrinterResolution;
astore 4
start local 4 155: aload 4
ifnonnull 157
156: aconst_null
areturn
157: StackMap locals: javax.print.attribute.standard.PrinterResolution[]
StackMap stack:
aload 4
arraylength
anewarray javax.print.attribute.standard.PrinterResolution
158: astore 5
start local 5 159: aload 4
iconst_0
aload 5
iconst_0
aload 4
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
160: aload 5
areturn
end local 5 end local 4 161: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 171
162: aload 2
ifnull 165
163: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 165
164: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 170
165: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.Sides
astore 4
start local 4 166: aload 4
iconst_0
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
167: aload 4
iconst_1
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
168: aload 4
iconst_2
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
169: aload 4
areturn
end local 4 170: StackMap locals:
StackMap stack:
aconst_null
areturn
171: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrintQuality;
if_acmpne 177
172: iconst_3
anewarray javax.print.attribute.standard.PrintQuality
astore 4
start local 4 173: aload 4
iconst_0
getstatic javax.print.attribute.standard.PrintQuality.DRAFT:Ljavax/print/attribute/standard/PrintQuality;
aastore
174: aload 4
iconst_1
getstatic javax.print.attribute.standard.PrintQuality.HIGH:Ljavax/print/attribute/standard/PrintQuality;
aastore
175: aload 4
iconst_2
getstatic javax.print.attribute.standard.PrintQuality.NORMAL:Ljavax/print/attribute/standard/PrintQuality;
aastore
176: aload 4
areturn
end local 4 177: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 186
178: aload 2
ifnull 181
179: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 181
180: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 185
181: StackMap locals:
StackMap stack:
iconst_2
anewarray javax.print.attribute.standard.SheetCollate
astore 4
start local 4 182: aload 4
iconst_0
getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
183: aload 4
iconst_1
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
184: aload 4
areturn
end local 4 185: StackMap locals:
StackMap stack:
aconst_null
areturn
186: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 191
187: iconst_2
anewarray javax.print.attribute.standard.Fidelity
astore 4
start local 4 188: aload 4
iconst_0
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
189: aload 4
iconst_1
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
aastore
190: aload 4
areturn
end local 4 191: 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 192 0 this Lsun/print/Win32PrintService;
0 192 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
0 192 2 flavor Ljavax/print/DocFlavor;
0 192 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;
116 137 4 mediaName Ljavax/print/attribute/standard/Media;
119 137 5 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
121 127 6 j I
129 137 6 ms Ljavax/print/attribute/standard/MediaSize;
139 141 5 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
150 152 4 arr [Ljavax/print/attribute/standard/PageRanges;
155 161 4 supportedRes [Ljavax/print/attribute/standard/PrinterResolution;
159 161 5 arr [Ljavax/print/attribute/standard/PrinterResolution;
166 170 4 arr [Ljavax/print/attribute/standard/Sides;
173 177 4 arr [Ljavax/print/attribute/standard/PrintQuality;
182 185 4 arr [Ljavax/print/attribute/standard/SheetCollate;
188 191 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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
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 83
71: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
72: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
73: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 83
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 83
aload 1
getstatic javax.print.attribute.standard.ColorSupported.NOT_SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 83
82: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 6 end local 5 83: 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 84 0 this Lsun/print/Win32PrintService;
0 84 1 attr Ljavax/print/attribute/Attribute;
0 84 2 flavor Ljavax/print/DocFlavor;
0 84 3 attributes Ljavax/print/attribute/AttributeSet;
3 84 4 category Ljava/lang/Class;
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
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
public javax.print.ServiceUIFactory getServiceUIFactory();
descriptor: ()Ljavax/print/ServiceUIFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 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;
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"
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