public class sun.print.UnixPrintService 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.UnixPrintService
super_class: java.lang.Object
{
private static java.lang.String encoding;
descriptor: Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor textByteFlavor;
descriptor: Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static javax.print.DocFlavor[] supportedDocFlavors;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final javax.print.DocFlavor[] supportedDocFlavorsInit;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final javax.print.DocFlavor[] supportedHostDocFlavors;
descriptor: [Ljavax/print/DocFlavor;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
java.lang.String[] lpcStatusCom;
descriptor: [Ljava/lang/String;
flags: (0x0000)
java.lang.String[] lpcQueueCom;
descriptor: [Ljava/lang/String;
flags: (0x0000)
private static final java.lang.Class<?>[] serviceAttrCats;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static final java.lang.Class<?>[] otherAttrCats;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static int MAXCOPIES;
descriptor: I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final javax.print.attribute.standard.MediaSizeName[] mediaSizes;
descriptor: [Ljavax/print/attribute/standard/MediaSizeName;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
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 boolean isInvalid;
descriptor: Z
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 static javax.print.attribute.standard.MediaPrintableArea[] mpas;
descriptor: [Ljavax/print/attribute/standard/MediaPrintableArea;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: ldc Lsun/print/UnixPrintService;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic sun.print.UnixPrintService.$assertionsDisabled:Z
3: ldc "ISO8859_1"
putstatic sun.print.UnixPrintService.encoding:Ljava/lang/String;
4: aconst_null
putstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
5: bipush 35
anewarray javax.print.DocFlavor
dup
iconst_0
6: getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
7: getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
8: getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
aastore
dup
iconst_3
9: getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_4
10: getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_5
11: getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 6
12: getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 7
13: getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 8
14: getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 9
15: getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 10
16: getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 11
17: getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 12
18: getstatic javax.print.DocFlavor$CHAR_ARRAY.TEXT_PLAIN:Ljavax/print/DocFlavor$CHAR_ARRAY;
aastore
dup
bipush 13
19: getstatic javax.print.DocFlavor$READER.TEXT_PLAIN:Ljavax/print/DocFlavor$READER;
aastore
dup
bipush 14
20: getstatic javax.print.DocFlavor$STRING.TEXT_PLAIN:Ljavax/print/DocFlavor$STRING;
aastore
dup
bipush 15
21: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 16
22: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 17
23: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 18
24: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 19
25: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 20
26: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 21
27: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 22
28: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 23
29: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 24
30: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
bipush 25
31: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_8:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 26
32: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 27
33: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16BE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 28
34: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_UTF_16LE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 29
35: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_US_ASCII:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 30
36: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 31
37: getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
aastore
dup
bipush 32
38: getstatic javax.print.DocFlavor$BYTE_ARRAY.AUTOSENSE:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
bipush 33
39: getstatic javax.print.DocFlavor$URL.AUTOSENSE:Ljavax/print/DocFlavor$URL;
aastore
dup
bipush 34
40: getstatic javax.print.DocFlavor$INPUT_STREAM.AUTOSENSE:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
41: putstatic sun.print.UnixPrintService.supportedDocFlavorsInit:[Ljavax/print/DocFlavor;
42: iconst_3
anewarray javax.print.DocFlavor
dup
iconst_0
43: getstatic javax.print.DocFlavor$BYTE_ARRAY.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$BYTE_ARRAY;
aastore
dup
iconst_1
44: getstatic javax.print.DocFlavor$INPUT_STREAM.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$INPUT_STREAM;
aastore
dup
iconst_2
45: getstatic javax.print.DocFlavor$URL.TEXT_PLAIN_HOST:Ljavax/print/DocFlavor$URL;
aastore
46: putstatic sun.print.UnixPrintService.supportedHostDocFlavors:[Ljavax/print/DocFlavor;
47: new sun.security.action.GetPropertyAction
dup
ldc "file.encoding"
invokespecial sun.security.action.GetPropertyAction.<init>:(Ljava/lang/String;)V
48: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
checkcast java.lang.String
putstatic sun.print.UnixPrintService.encoding:Ljava/lang/String;
49: iconst_3
anewarray java.lang.Class
dup
iconst_0
50: ldc Ljavax/print/attribute/standard/PrinterName;
aastore
dup
iconst_1
51: ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
aastore
dup
iconst_2
52: ldc Ljavax/print/attribute/standard/QueuedJobCount;
aastore
53: putstatic sun.print.UnixPrintService.serviceAttrCats:[Ljava/lang/Class;
54: bipush 13
anewarray java.lang.Class
dup
iconst_0
55: ldc Ljavax/print/attribute/standard/Chromaticity;
aastore
dup
iconst_1
56: ldc Ljavax/print/attribute/standard/Copies;
aastore
dup
iconst_2
57: ldc Ljavax/print/attribute/standard/Destination;
aastore
dup
iconst_3
58: ldc Ljavax/print/attribute/standard/Fidelity;
aastore
dup
iconst_4
59: ldc Ljavax/print/attribute/standard/JobName;
aastore
dup
iconst_5
60: ldc Ljavax/print/attribute/standard/JobSheets;
aastore
dup
bipush 6
61: ldc Ljavax/print/attribute/standard/Media;
aastore
dup
bipush 7
62: ldc Ljavax/print/attribute/standard/MediaPrintableArea;
aastore
dup
bipush 8
63: ldc Ljavax/print/attribute/standard/OrientationRequested;
aastore
dup
bipush 9
64: ldc Ljavax/print/attribute/standard/PageRanges;
aastore
dup
bipush 10
65: ldc Ljavax/print/attribute/standard/RequestingUserName;
aastore
dup
bipush 11
66: ldc Ljavax/print/attribute/standard/SheetCollate;
aastore
dup
bipush 12
67: ldc Ljavax/print/attribute/standard/Sides;
aastore
68: putstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
69: sipush 1000
putstatic sun.print.UnixPrintService.MAXCOPIES:I
70: bipush 10
anewarray javax.print.attribute.standard.MediaSizeName
dup
iconst_0
71: getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_1
72: getstatic javax.print.attribute.standard.MediaSizeName.TABLOID:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_2
73: getstatic javax.print.attribute.standard.MediaSizeName.LEDGER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_3
74: getstatic javax.print.attribute.standard.MediaSizeName.NA_LEGAL:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_4
75: getstatic javax.print.attribute.standard.MediaSizeName.EXECUTIVE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_5
76: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A3:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 6
77: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 7
78: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 8
79: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 9
80: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
81: putstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
82: aconst_null
putstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
anewarray java.lang.String
dup
iconst_0
2: ldc ""
aastore
dup
iconst_1
3: ldc "| grep -E '^[ 0-9a-zA-Z_-]*@' | awk '{print $2, $3}'"
aastore
putfield sun.print.UnixPrintService.lpcStatusCom:[Ljava/lang/String;
4: aload 0
iconst_2
anewarray java.lang.String
dup
iconst_0
5: ldc ""
aastore
dup
iconst_1
6: ldc "| grep -E '^[ 0-9a-zA-Z_-]*@' | awk '{print $4}'"
aastore
putfield sun.print.UnixPrintService.lpcQueueCom:[Ljava/lang/String;
7: aload 0
aconst_null
putfield sun.print.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
8: aload 1
ifnonnull 10
9: new java.lang.IllegalArgumentException
dup
ldc "null printer name"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: sun.print.UnixPrintService java.lang.String
StackMap stack:
aload 0
aload 1
putfield sun.print.UnixPrintService.printer:Ljava/lang/String;
11: aload 0
iconst_0
putfield sun.print.UnixPrintService.isInvalid:Z
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/UnixPrintService;
0 13 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.UnixPrintService.isInvalid:Z
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/UnixPrintService;
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.UnixPrintService.printer:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/UnixPrintService;
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.UnixPrintService.name:Ljavax/print/attribute/standard/PrinterName;
ifnonnull 2
1: aload 0
new javax.print.attribute.standard.PrinterName
dup
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
aconst_null
invokespecial javax.print.attribute.standard.PrinterName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
putfield sun.print.UnixPrintService.name:Ljavax/print/attribute/standard/PrinterName;
2: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintService.name:Ljavax/print/attribute/standard/PrinterName;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/UnixPrintService;
private javax.print.attribute.standard.PrinterIsAcceptingJobs getPrinterIsAcceptingJobsSysV();
descriptor: ()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/usr/bin/lpstat -a "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnull 13
aload 2
arraylength
ifle 13
3: aload 2
iconst_0
aaload
new java.lang.StringBuilder
dup
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " accepting requests"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 5
4: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
5: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
aload 2
iconst_0
aaload
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 13
6: aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
istore 3
start local 3 7: aload 2
iconst_0
aaload
astore 4
start local 4 8: aload 4
invokevirtual java.lang.String.length:()I
iload 3
if_icmple 13
9: aload 4
iload 3
invokevirtual java.lang.String.charAt:(I)C
bipush 64
if_icmpne 13
10: aload 4
ldc " accepting requests"
iload 3
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
ifle 13
11: aload 4
ldc " not accepting requests"
iload 3
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;I)I
iconst_m1
if_icmpne 13
12: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
end local 4 end local 3 13: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lsun/print/UnixPrintService;
1 14 1 command Ljava/lang/String;
2 14 2 results [Ljava/lang/String;
7 13 3 index I
8 13 4 str Ljava/lang/String;
private javax.print.attribute.standard.PrinterIsAcceptingJobs getPrinterIsAcceptingJobsBSD();
descriptor: ()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=1
start local 0 0: getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
1: iconst_m1
2: if_icmpne 5
3: invokestatic sun.print.PrintServiceLookupProvider.getBSDCommandIndex:()I
4: putstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
5: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "/usr/sbin/lpc status "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
6: aload 0
getfield sun.print.UnixPrintService.lpcStatusCom:[Ljava/lang/String;
getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 8: aload 1
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 9: aload 2
ifnull 21
aload 2
arraylength
ifle 21
10: getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
11: iconst_1
12: if_icmpne 15
13: aload 2
iconst_0
aaload
ldc "enabled enabled"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
14: getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
15: StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
aload 2
iconst_1
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "queuing is enabled"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 17
16: aload 2
iconst_2
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "printing is enabled"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 20
17: StackMap locals:
StackMap stack:
aload 2
arraylength
iconst_4
if_icmplt 21
18: aload 2
iconst_2
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "queuing is enabled"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
19: aload 2
iconst_3
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc "printing is enabled"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 21
20: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
21: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lsun/print/UnixPrintService;
8 22 1 command Ljava/lang/String;
9 22 2 results [Ljava/lang/String;
protected static java.lang.String[] filterPrinterNamesAIX(java.lang.String[]);
descriptor: ([Ljava/lang/String;)[Ljava/lang/String;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: iconst_0
istore 3
start local 3 2: goto 10
3: StackMap locals: java.lang.String[] java.util.ArrayList top int
StackMap stack:
aload 0
iload 3
aaload
ldc "---"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 9
4: aload 0
iload 3
aaload
ldc "Queue"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifne 9
5: aload 0
iload 3
aaload
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
goto 9
6: StackMap locals:
StackMap stack:
aload 0
iload 3
aaload
ldc " "
invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 7: aload 2
arraylength
iconst_1
if_icmplt 9
aload 2
iconst_0
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
ldc ":"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifne 9
8: aload 1
aload 0
iload 3
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 2 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 0
arraylength
if_icmplt 3
end local 3 11: aload 1
aload 1
invokevirtual java.util.ArrayList.size:()I
anewarray java.lang.String
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.lang.String[]
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 posPrinters [Ljava/lang/String;
1 12 1 printers Ljava/util/ArrayList<Ljava/lang/String;>;
7 9 2 splitPart [Ljava/lang/String;
2 11 3 i I
MethodParameters:
Name Flags
posPrinters
private javax.print.attribute.standard.PrinterIsAcceptingJobs getPrinterIsAcceptingJobsAIX();
descriptor: ()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/usr/bin/lpstat -a"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic sun.print.UnixPrintService.filterPrinterNamesAIX:([Ljava/lang/String;)[Ljava/lang/String;
astore 2
3: aload 2
ifnull 11
aload 2
arraylength
ifle 11
4: iconst_0
istore 3
start local 3 5: goto 10
6: StackMap locals: java.lang.String java.lang.String[] int
StackMap stack:
aload 2
iload 3
aaload
ldc "READY"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifne 8
7: aload 2
iload 3
aaload
ldc "RUNNING"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 9
8: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
aload 2
arraylength
if_icmplt 6
end local 3 11: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.PrinterIsAcceptingJobs.NOT_ACCEPTING_JOBS:Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lsun/print/UnixPrintService;
1 12 1 command Ljava/lang/String;
2 12 2 results [Ljava/lang/String;
5 11 3 i I
private javax.print.attribute.standard.PrinterIsAcceptingJobs getPrinterIsAcceptingJobs();
descriptor: ()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.print.PrintServiceLookupProvider.isSysV:()Z
ifeq 2
1: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsSysV:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.print.PrintServiceLookupProvider.isBSD:()Z
ifeq 4
3: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsBSD:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
4: StackMap locals:
StackMap stack:
invokestatic sun.print.PrintServiceLookupProvider.isAIX:()Z
ifeq 6
5: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsAIX:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
6: 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 7 0 this Lsun/print/UnixPrintService;
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.UnixPrintService.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/UnixPrintService;
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.UnixPrintService.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/UnixPrintService;
2 4 1 psr Ljavax/print/attribute/standard/PrinterStateReasons;
private javax.print.attribute.standard.QueuedJobCount getQueuedJobCountSysV();
descriptor: ()Ljavax/print/attribute/standard/QueuedJobCount;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/usr/bin/lpstat -R "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
ifnonnull 3
iconst_0
goto 4
StackMap locals: java.lang.String java.lang.String[]
StackMap stack:
3: aload 2
arraylength
StackMap locals:
StackMap stack: int
4: istore 3
start local 3 5: new javax.print.attribute.standard.QueuedJobCount
dup
iload 3
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/UnixPrintService;
1 6 1 command Ljava/lang/String;
2 6 2 results [Ljava/lang/String;
5 6 3 qlen I
private javax.print.attribute.standard.QueuedJobCount getQueuedJobCountBSD();
descriptor: ()Ljavax/print/attribute/standard/QueuedJobCount;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=5, args_size=1
start local 0 0: getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
1: iconst_m1
2: if_icmpne 5
3: invokestatic sun.print.PrintServiceLookupProvider.getBSDCommandIndex:()I
4: putstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
5: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 6: new java.lang.StringBuilder
dup
ldc "/usr/sbin/lpc status "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
7: aload 0
getfield sun.print.UnixPrintService.lpcQueueCom:[Ljava/lang/String;
getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
aaload
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 2
start local 2 9: aload 2
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 3
start local 3 10: aload 3
ifnull 23
aload 3
arraylength
ifle 23
11: getstatic sun.print.PrintServiceLookupProvider.cmdIndex:I
12: iconst_1
13: if_icmpne 16
14: aload 3
iconst_0
aaload
astore 4
start local 4 15: goto 20
end local 4 16: StackMap locals: int java.lang.String java.lang.String[]
StackMap stack:
aload 3
iconst_3
aaload
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 4
start local 4 17: aload 4
ldc "no"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 19
18: new javax.print.attribute.standard.QueuedJobCount
dup
iconst_0
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
19: StackMap locals: java.lang.String
StackMap stack:
aload 4
iconst_0
aload 4
bipush 32
invokevirtual java.lang.String.indexOf:(I)I
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
20: StackMap locals:
StackMap stack:
aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
istore 1
21: goto 23
StackMap locals:
StackMap stack: java.lang.NumberFormatException
22: pop
end local 4 23: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.QueuedJobCount
dup
iload 1
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lsun/print/UnixPrintService;
6 24 1 qlen I
9 24 2 command Ljava/lang/String;
10 24 3 results [Ljava/lang/String;
15 16 4 queued Ljava/lang/String;
17 23 4 queued Ljava/lang/String;
Exception table:
from to target type
20 21 22 Class java.lang.NumberFormatException
private javax.print.attribute.standard.QueuedJobCount getQueuedJobCountAIX();
descriptor: ()Ljavax/print/attribute/standard/QueuedJobCount;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "/usr/bin/lpstat -a"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield sun.print.UnixPrintService.printer:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: aload 1
invokestatic sun.print.PrintServiceLookupProvider.execCmd:(Ljava/lang/String;)[Ljava/lang/String;
astore 2
start local 2 2: aload 2
invokestatic sun.print.UnixPrintService.filterPrinterNamesAIX:([Ljava/lang/String;)[Ljava/lang/String;
astore 2
3: iconst_0
istore 3
start local 3 4: aload 2
ifnull 11
aload 2
arraylength
ifle 11
5: iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: sun.print.UnixPrintService java.lang.String java.lang.String[] int int
StackMap stack:
aload 2
iload 4
aaload
ldc "QUEUED"
invokevirtual java.lang.String.contains:(Ljava/lang/CharSequence;)Z
ifeq 9
8: iinc 3 1
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
arraylength
if_icmplt 7
end local 4 11: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.QueuedJobCount
dup
iload 3
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
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/UnixPrintService;
1 12 1 command Ljava/lang/String;
2 12 2 results [Ljava/lang/String;
4 12 3 qlen I
6 11 4 i I
private javax.print.attribute.standard.QueuedJobCount getQueuedJobCount();
descriptor: ()Ljavax/print/attribute/standard/QueuedJobCount;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: invokestatic sun.print.PrintServiceLookupProvider.isSysV:()Z
ifeq 2
1: aload 0
invokevirtual sun.print.UnixPrintService.getQueuedJobCountSysV:()Ljavax/print/attribute/standard/QueuedJobCount;
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.print.PrintServiceLookupProvider.isBSD:()Z
ifeq 4
3: aload 0
invokevirtual sun.print.UnixPrintService.getQueuedJobCountBSD:()Ljavax/print/attribute/standard/QueuedJobCount;
areturn
4: StackMap locals:
StackMap stack:
invokestatic sun.print.PrintServiceLookupProvider.isAIX:()Z
ifeq 6
5: aload 0
invokevirtual sun.print.UnixPrintService.getQueuedJobCountAIX:()Ljavax/print/attribute/standard/QueuedJobCount;
areturn
6: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.QueuedJobCount
dup
iconst_0
invokespecial javax.print.attribute.standard.QueuedJobCount.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/UnixPrintService;
private javax.print.attribute.PrintServiceAttributeSet getSysVServiceAttributes();
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.UnixPrintService.getQueuedJobCountSysV:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsSysV:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
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/UnixPrintService;
1 4 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
private javax.print.attribute.PrintServiceAttributeSet getBSDServiceAttributes();
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.UnixPrintService.getQueuedJobCountBSD:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsBSD:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
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/UnixPrintService;
1 4 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
private javax.print.attribute.PrintServiceAttributeSet getAIXServiceAttributes();
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.UnixPrintService.getQueuedJobCountAIX:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobsAIX:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
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/UnixPrintService;
1 4 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
private boolean isSupportedCopies(javax.print.attribute.standard.Copies);
descriptor: (Ljavax/print/attribute/standard/Copies;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual javax.print.attribute.standard.Copies.getValue:()I
istore 2
start local 2 1: iload 2
ifle 2
iload 2
getstatic sun.print.UnixPrintService.MAXCOPIES:I
if_icmpge 2
iconst_1
ireturn
StackMap locals: int
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/UnixPrintService;
0 3 1 copies Ljavax/print/attribute/standard/Copies;
1 3 2 numCopies I
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: iconst_0
istore 2
start local 2 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
iload 2
aaload
invokevirtual javax.print.attribute.standard.MediaSizeName.equals:(Ljava/lang/Object;)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
getstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
if_icmplt 2
end local 2 6: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/print/UnixPrintService;
0 7 1 msn Ljavax/print/attribute/standard/MediaSizeName;
1 6 2 i I
MethodParameters:
Name Flags
msn
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.UnixPrintJob
dup
aload 0
invokespecial sun.print.UnixPrintJob.<init>:(Ljavax/print/PrintService;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/UnixPrintService;
1 4 1 security Ljava/lang/SecurityManager;
private javax.print.attribute.PrintServiceAttributeSet getDynamicAttributes();
descriptor: ()Ljavax/print/attribute/PrintServiceAttributeSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.print.PrintServiceLookupProvider.isSysV:()Z
ifeq 2
1: aload 0
invokevirtual sun.print.UnixPrintService.getSysVServiceAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
2: StackMap locals:
StackMap stack:
invokestatic sun.print.PrintServiceLookupProvider.isAIX:()Z
ifeq 4
3: aload 0
invokevirtual sun.print.UnixPrintService.getAIXServiceAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.UnixPrintService.getBSDServiceAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/print/UnixPrintService;
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.UnixPrintService.getDynamicAttributes:()Ljavax/print/attribute/PrintServiceAttributeSet;
astore 1
start local 1 1: aload 0
getfield sun.print.UnixPrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
ifnonnull 4
2: aload 0
aload 1
putfield sun.print.UnixPrintService.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 5
start local 5 8: goto 13
9: StackMap locals: sun.print.UnixPrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] top int
StackMap stack:
aload 3
iload 5
aaload
astore 4
start local 4 10: aload 0
getfield sun.print.UnixPrintService.lastSet:Ljavax/print/attribute/PrintServiceAttributeSet;
aload 4
invokeinterface javax.print.attribute.PrintServiceAttributeSet.containsValue:(Ljavax/print/attribute/Attribute;)Z
ifne 12
11: aload 2
aload 4
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
12: StackMap locals: sun.print.UnixPrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] javax.print.attribute.Attribute int
StackMap stack:
iinc 5 1
end local 4 StackMap locals: sun.print.UnixPrintService javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.PrintServiceAttributeSet javax.print.attribute.Attribute[] top int
StackMap stack:
13: iload 5
aload 3
arraylength
if_icmplt 9
end local 5 14: aload 0
aload 1
putfield sun.print.UnixPrintService.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/UnixPrintService;
1 16 1 currSet Ljavax/print/attribute/PrintServiceAttributeSet;
6 16 2 updates Ljavax/print/attribute/PrintServiceAttributeSet;
7 16 3 attrs [Ljavax/print/attribute/Attribute;
10 13 4 attr Ljavax/print/attribute/Attribute;
8 14 5 i I
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.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
ifnull 3
2: aload 0
getfield sun.print.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.wake:()V
3: StackMap locals: sun.print.UnixPrintService
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/UnixPrintService;
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.UnixPrintService
StackMap stack:
aload 0
getfield sun.print.UnixPrintService.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.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintService.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/UnixPrintService;
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.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
ifnonnull 4
2: StackMap locals: sun.print.UnixPrintService
StackMap stack:
aload 2
monitorexit
3: return
4: StackMap locals:
StackMap stack:
aload 0
getfield sun.print.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
aload 1
invokevirtual sun.print.ServiceNotifier.removeListener:(Ljavax/print/event/PrintServiceAttributeListener;)V
5: aload 0
getfield sun.print.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.isEmpty:()Z
ifeq 8
6: aload 0
getfield sun.print.UnixPrintService.notifier:Lsun/print/ServiceNotifier;
invokevirtual sun.print.ServiceNotifier.stopNotifier:()V
7: aload 0
aconst_null
putfield sun.print.UnixPrintService.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/UnixPrintService;
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=2, 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/PrinterName;
if_acmpne 6
5: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterName:()Ljavax/print/attribute/standard/PrinterName;
areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterState;
if_acmpne 8
7: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterState:()Ljavax/print/attribute/standard/PrinterState;
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterStateReasons;
if_acmpne 10
9: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterStateReasons:()Ljavax/print/attribute/standard/PrinterStateReasons;
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/QueuedJobCount;
if_acmpne 12
11: aload 0
invokevirtual sun.print.UnixPrintService.getQueuedJobCount:()Ljavax/print/attribute/standard/QueuedJobCount;
areturn
12: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
if_acmpne 14
13: aload 0
invokevirtual sun.print.UnixPrintService.getPrinterIsAcceptingJobs:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
areturn
14: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/print/UnixPrintService;
0 15 1 category Ljava/lang/Class<TT;>;
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=4, 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.UnixPrintService.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.UnixPrintService.getPrinterIsAcceptingJobs:()Ljavax/print/attribute/standard/PrinterIsAcceptingJobs;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
3: aload 0
invokevirtual sun.print.UnixPrintService.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.UnixPrintService.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.UnixPrintService.getQueuedJobCount:()Ljavax/print/attribute/standard/QueuedJobCount;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
10: aload 1
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 11 0 this Lsun/print/UnixPrintService;
1 11 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
4 11 2 prnState Ljavax/print/attribute/standard/PrinterState;
7 11 3 prnStateReasons Ljavax/print/attribute/standard/PrinterStateReasons;
private void initSupportedDocFlavors();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=1
start local 0 0: getstatic javax.print.DocFlavor.hostEncoding:Ljava/lang/String;
getstatic java.util.Locale.ENGLISH:Ljava/util/Locale;
invokevirtual java.lang.String.toLowerCase:(Ljava/util/Locale;)Ljava/lang/String;
astore 1
start local 1 1: aload 1
ldc "utf-8"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
aload 1
ldc "utf-16"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
2: aload 1
ldc "utf-16be"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
aload 1
ldc "utf-16le"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
3: aload 1
ldc "us-ascii"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 13
4: getstatic sun.print.UnixPrintService.supportedDocFlavorsInit:[Ljavax/print/DocFlavor;
arraylength
istore 2
start local 2 5: iload 2
getstatic sun.print.UnixPrintService.supportedHostDocFlavors:[Ljavax/print/DocFlavor;
arraylength
iadd
anewarray javax.print.DocFlavor
6: astore 3
start local 3 7: getstatic sun.print.UnixPrintService.supportedHostDocFlavors:[Ljavax/print/DocFlavor;
iconst_0
aload 3
8: iload 2
getstatic sun.print.UnixPrintService.supportedHostDocFlavors:[Ljavax/print/DocFlavor;
arraylength
9: invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: getstatic sun.print.UnixPrintService.supportedDocFlavorsInit:[Ljavax/print/DocFlavor;
iconst_0
aload 3
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 3
putstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
end local 3 end local 2 12: goto 14
13: StackMap locals: java.lang.String
StackMap stack:
getstatic sun.print.UnixPrintService.supportedDocFlavorsInit:[Ljavax/print/DocFlavor;
putstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
14: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/print/UnixPrintService;
1 15 1 hostEnc Ljava/lang/String;
5 12 2 len I
7 12 3 flavors [Ljavax/print/DocFlavor;
public javax.print.DocFlavor[] getSupportedDocFlavors();
descriptor: ()[Ljavax/print/DocFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnonnull 2
1: aload 0
invokevirtual sun.print.UnixPrintService.initSupportedDocFlavors:()V
2: StackMap locals:
StackMap stack:
getstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
arraylength
istore 1
start local 1 3: iload 1
anewarray javax.print.DocFlavor
astore 2
start local 2 4: getstatic sun.print.UnixPrintService.supportedDocFlavors:[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
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lsun/print/UnixPrintService;
3 6 1 len I
4 6 2 flavors [Ljavax/print/DocFlavor;
public boolean isDocFlavorSupported(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: getstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
ifnonnull 2
1: aload 0
invokevirtual sun.print.UnixPrintService.initSupportedDocFlavors:()V
2: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 3: goto 7
4: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
iload 2
aaload
invokevirtual javax.print.DocFlavor.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
getstatic sun.print.UnixPrintService.supportedDocFlavors:[Ljavax/print/DocFlavor;
arraylength
if_icmplt 4
end local 2 8: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lsun/print/UnixPrintService;
0 9 1 flavor Ljavax/print/DocFlavor;
3 8 2 f I
MethodParameters:
Name Flags
flavor
public java.lang.Class<?>[] getSupportedAttributeCategories();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: getstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
arraylength
istore 1
start local 1 1: iload 1
anewarray java.lang.Class
astore 2
start local 2 2: getstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
iconst_0
aload 2
iconst_0
getstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/print/UnixPrintService;
1 4 1 totalCats I
2 4 2 cats [Ljava/lang/Class;
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=3, 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:
iconst_0
istore 2
start local 2 7: goto 11
8: StackMap locals: int
StackMap stack:
aload 1
getstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
iload 2
aaload
if_acmpne 10
9: iconst_1
ireturn
10: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
11: iload 2
getstatic sun.print.UnixPrintService.otherAttrCats:[Ljava/lang/Class;
arraylength
if_icmplt 8
end local 2 12: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/UnixPrintService;
0 13 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
7 12 2 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=5, 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.UnixPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 8
7: aconst_null
areturn
8: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 10
9: new javax.print.attribute.standard.Copies
dup
iconst_1
invokespecial javax.print.attribute.standard.Copies.<init>:(I)V
areturn
10: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 12
11: getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
areturn
12: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 20
13: new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.ps"
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
14: areturn
15: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
16: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.ps"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
17: areturn
18: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
19: aconst_null
areturn
20: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 22
21: getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
areturn
22: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 24
23: 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
24: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobSheets;
if_acmpne 26
25: getstatic javax.print.attribute.standard.JobSheets.STANDARD:Ljavax/print/attribute/standard/JobSheets;
areturn
26: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 34
27: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 2
start local 2 28: aload 2
ifnull 33
29: aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
30: aload 2
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 32
31: aload 2
getstatic java.util.Locale.CANADA:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 33
32: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
areturn
33: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 2 34: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 48
35: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 2
start local 2 36: aload 2
ifnull 43
37: aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
38: aload 2
getstatic java.util.Locale.US:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 40
39: aload 2
getstatic java.util.Locale.CANADA:Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 43
40: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
fstore 3
start local 3 41: getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
fstore 4
start local 4 42: goto 45
end local 4 end local 3 43: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
fstore 3
start local 3 44: getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
fstore 4
start local 4 45: StackMap locals: float float
StackMap stack:
new javax.print.attribute.standard.MediaPrintableArea
dup
ldc 0.25
ldc 0.25
fload 3
fload 4
46: sipush 25400
47: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
areturn
end local 4 end local 3 end local 2 48: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 50
49: getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
50: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 52
51: new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
areturn
52: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 58
53: ldc ""
astore 2
start local 2 54: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 2
55: goto 57
StackMap locals: sun.print.UnixPrintService java.lang.Class java.lang.String
StackMap stack: java.lang.SecurityException
56: pop
57: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.RequestingUserName
dup
aload 2
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
end local 2 58: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 60
59: getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
areturn
60: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 62
61: getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
areturn
62: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 63 0 this Lsun/print/UnixPrintService;
0 63 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
28 34 2 defaultCountry Ljava/lang/String;
36 48 2 defaultCountry Ljava/lang/String;
41 43 3 iw F
44 48 3 iw F
42 43 4 ih F
45 48 4 ih F
54 58 2 userName Ljava/lang/String;
Exception table:
from to target type
13 14 15 Class java.lang.SecurityException
16 17 18 Class java.net.URISyntaxException
54 55 56 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Ljava/lang/Object;
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/UnixPrintService;
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=8, 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 13
7: aload 0
aload 2
invokevirtual sun.print.UnixPrintService.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.UnixPrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifeq 13
12: aconst_null
areturn
13: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.UnixPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 15
14: aconst_null
areturn
15: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 21
16: aload 2
ifnull 17
aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isServiceFormattedFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 20
17: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.Chromaticity
astore 4
start local 4 18: aload 4
iconst_0
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
aastore
19: aload 4
areturn
end local 4 20: StackMap locals:
StackMap stack:
aconst_null
areturn
21: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 29
22: new javax.print.attribute.standard.Destination
dup
new java.io.File
dup
ldc "out.ps"
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
23: areturn
24: StackMap locals:
StackMap stack: java.lang.SecurityException
pop
25: new javax.print.attribute.standard.Destination
dup
new java.net.URI
dup
ldc "file:out.ps"
invokespecial java.net.URI.<init>:(Ljava/lang/String;)V
invokespecial javax.print.attribute.standard.Destination.<init>:(Ljava/net/URI;)V
26: areturn
27: StackMap locals:
StackMap stack: java.net.URISyntaxException
pop
28: aconst_null
areturn
29: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 31
30: 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
31: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobSheets;
if_acmpne 36
32: iconst_2
anewarray javax.print.attribute.standard.JobSheets
astore 4
start local 4 33: aload 4
iconst_0
getstatic javax.print.attribute.standard.JobSheets.NONE:Ljavax/print/attribute/standard/JobSheets;
aastore
34: aload 4
iconst_1
getstatic javax.print.attribute.standard.JobSheets.STANDARD:Ljavax/print/attribute/standard/JobSheets;
aastore
35: aload 4
areturn
end local 4 36: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 42
37: ldc ""
astore 4
start local 4 38: ldc "user.name"
ldc ""
invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 4
39: goto 41
StackMap locals: sun.print.UnixPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet java.lang.String
StackMap stack: java.lang.SecurityException
40: pop
41: 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 42: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 50
43: aload 2
ifnull 44
aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isServiceFormattedFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 49
44: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.OrientationRequested
astore 4
start local 4 45: aload 4
iconst_0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
46: aload 4
iconst_1
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
47: aload 4
iconst_2
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
48: aload 4
areturn
end local 4 49: StackMap locals:
StackMap stack:
aconst_null
areturn
50: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpeq 52
51: aload 1
ldc Ljavax/print/attribute/standard/CopiesSupported;
if_acmpne 58
52: StackMap locals:
StackMap stack:
aload 2
ifnull 56
53: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 57
54: aload 2
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 57
55: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 57
56: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.CopiesSupported
dup
iconst_1
getstatic sun.print.UnixPrintService.MAXCOPIES:I
invokespecial javax.print.attribute.standard.CopiesSupported.<init>:(II)V
areturn
57: StackMap locals:
StackMap stack:
aconst_null
areturn
58: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 62
59: getstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
anewarray javax.print.attribute.standard.Media
astore 4
start local 4 60: getstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aload 4
iconst_0
getstatic sun.print.UnixPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
61: aload 4
areturn
end local 4 62: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 67
63: iconst_2
anewarray javax.print.attribute.standard.Fidelity
astore 4
start local 4 64: aload 4
iconst_0
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
65: aload 4
iconst_1
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
aastore
66: aload 4
areturn
end local 4 67: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 96
68: aload 3
ifnonnull 70
69: aload 0
invokevirtual sun.print.UnixPrintService.getAllPrintableAreas:()[Ljavax/print/attribute/standard/MediaPrintableArea;
areturn
70: StackMap locals:
StackMap stack:
aload 3
ldc Ljavax/print/attribute/standard/MediaSize;
invokeinterface javax.print.attribute.AttributeSet.get:(Ljava/lang/Class;)Ljavax/print/attribute/Attribute;
checkcast javax.print.attribute.standard.MediaSize
astore 4
start local 4 71: 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
astore 5
start local 5 72: iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 6
start local 6 73: aload 4
ifnonnull 89
74: aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 88
75: aload 5
checkcast javax.print.attribute.standard.MediaSizeName
astore 7
start local 7 76: aload 7
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 4
77: aload 4
ifnonnull 89
78: aload 0
ldc Ljavax/print/attribute/standard/Media;
invokevirtual sun.print.UnixPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media
astore 5
79: aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 82
80: aload 5
checkcast javax.print.attribute.standard.MediaSizeName
astore 7
81: aload 7
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 4
82: StackMap locals: sun.print.UnixPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet javax.print.attribute.standard.MediaSize javax.print.attribute.standard.Media javax.print.attribute.standard.MediaPrintableArea[] javax.print.attribute.standard.MediaSizeName
StackMap stack:
aload 4
ifnonnull 89
83: aload 6
iconst_0
new javax.print.attribute.standard.MediaPrintableArea
dup
ldc 0.25
ldc 0.25
84: ldc 8.0
ldc 10.5
85: sipush 25400
invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
86: aastore
87: aload 6
areturn
end local 7 88: StackMap locals:
StackMap stack:
aload 0
invokevirtual sun.print.UnixPrintService.getAllPrintableAreas:()[Ljavax/print/attribute/standard/MediaPrintableArea;
areturn
89: StackMap locals:
StackMap stack:
getstatic sun.print.UnixPrintService.$assertionsDisabled:Z
ifne 90
aload 4
ifnonnull 90
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
90: StackMap locals:
StackMap stack:
aload 6
iconst_0
new javax.print.attribute.standard.MediaPrintableArea
dup
ldc 0.25
ldc 0.25
91: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
92: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
93: sipush 25400
invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
94: aastore
95: aload 6
areturn
end local 6 end local 5 end local 4 96: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 104
97: aload 2
ifnull 100
98: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 100
99: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 103
100: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.PageRanges
astore 4
start local 4 101: 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
102: aload 4
areturn
end local 4 103: StackMap locals:
StackMap stack:
aconst_null
areturn
104: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 113
105: aload 2
ifnull 108
106: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 108
107: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 112
108: StackMap locals:
StackMap stack:
iconst_2
anewarray javax.print.attribute.standard.SheetCollate
astore 4
start local 4 109: aload 4
iconst_0
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
110: aload 4
iconst_1
getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
111: aload 4
areturn
end local 4 112: StackMap locals:
StackMap stack:
aconst_null
areturn
113: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 123
114: aload 2
ifnull 117
115: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 117
116: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 122
117: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.Sides
astore 4
start local 4 118: aload 4
iconst_0
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
119: aload 4
iconst_1
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
120: aload 4
iconst_2
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
121: aload 4
areturn
end local 4 122: StackMap locals:
StackMap stack:
aconst_null
areturn
123: 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 124 0 this Lsun/print/UnixPrintService;
0 124 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
0 124 2 flavor Ljavax/print/DocFlavor;
0 124 3 attributes Ljavax/print/attribute/AttributeSet;
18 20 4 arr [Ljavax/print/attribute/standard/Chromaticity;
33 36 4 arr [Ljavax/print/attribute/standard/JobSheets;
38 42 4 userName Ljava/lang/String;
45 49 4 arr [Ljavax/print/attribute/standard/OrientationRequested;
60 62 4 arr [Ljavax/print/attribute/standard/Media;
64 67 4 arr [Ljavax/print/attribute/standard/Fidelity;
71 96 4 mediaSize Ljavax/print/attribute/standard/MediaSize;
72 96 5 media Ljavax/print/attribute/standard/Media;
73 96 6 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
76 88 7 msn Ljavax/print/attribute/standard/MediaSizeName;
101 103 4 arr [Ljavax/print/attribute/standard/PageRanges;
109 112 4 arr [Ljavax/print/attribute/standard/SheetCollate;
118 122 4 arr [Ljavax/print/attribute/standard/Sides;
Exception table:
from to target type
22 23 24 Class java.lang.SecurityException
25 26 27 Class java.net.URISyntaxException
38 39 40 Class java.lang.SecurityException
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
flavor
attributes
private javax.print.attribute.standard.MediaPrintableArea[] getAllPrintableAreas();
descriptor: ()[Ljavax/print/attribute/standard/MediaPrintableArea;
flags: (0x0002) ACC_PRIVATE
Code:
stack=9, locals=5, args_size=1
start local 0 0: getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
ifnonnull 22
1: aload 0
ldc Ljavax/print/attribute/standard/Media;
2: aconst_null
aconst_null
3: invokevirtual sun.print.UnixPrintService.getSupportedAttributeValues:(Ljava/lang/Class;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/lang/Object;
checkcast javax.print.attribute.standard.Media[]
astore 1
start local 1 4: aload 1
arraylength
anewarray javax.print.attribute.standard.MediaPrintableArea
putstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
5: iconst_0
istore 2
start local 2 6: goto 21
7: StackMap locals: javax.print.attribute.standard.Media[] int
StackMap stack:
aload 1
iload 2
aaload
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 20
8: aload 1
iload 2
aaload
checkcast javax.print.attribute.standard.MediaSizeName
astore 3
start local 3 9: aload 3
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 4
start local 4 10: aload 4
ifnonnull 15
11: getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 2
12: aload 0
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
invokevirtual sun.print.UnixPrintService.getDefaultAttributeValue:(Ljava/lang/Class;)Ljava/lang/Object;
13: checkcast javax.print.attribute.standard.MediaPrintableArea
aastore
14: goto 20
15: StackMap locals: javax.print.attribute.standard.MediaSizeName javax.print.attribute.standard.MediaSize
StackMap stack:
getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
iload 2
new javax.print.attribute.standard.MediaPrintableArea
dup
ldc 0.25
ldc 0.25
16: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
ldc 0.5
fsub
17: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
ldc 0.5
fsub
18: sipush 25400
invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
19: aastore
end local 4 end local 3 20: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
21: iload 2
getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
if_icmplt 7
end local 2 end local 1 22: StackMap locals:
StackMap stack:
getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 1
start local 1 23: getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
iconst_0
aload 1
iconst_0
getstatic sun.print.UnixPrintService.mpas:[Ljavax/print/attribute/standard/MediaPrintableArea;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
24: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lsun/print/UnixPrintService;
4 22 1 media [Ljavax/print/attribute/standard/Media;
6 22 2 i I
9 20 3 msn Ljavax/print/attribute/standard/MediaSizeName;
10 20 4 mediaSize Ljavax/print/attribute/standard/MediaSize;
23 25 1 mpasCopy [Ljavax/print/attribute/standard/MediaPrintableArea;
private boolean isServiceFormattedFlavor(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$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
1: aload 1
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
2: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
3: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
4: aload 1
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
5: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
6: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
7: aload 1
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
8: aload 1
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
9: aload 1
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
10: aload 1
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 12
11: iconst_0
ireturn
StackMap locals:
StackMap stack:
12: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lsun/print/UnixPrintService;
0 13 1 flavor Ljavax/print/DocFlavor;
MethodParameters:
Name Flags
flavor
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=6, 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 2
ifnull 9
3: aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 7
4: 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;
5: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isAutoSense:(Ljavax/print/DocFlavor;)Z
ifeq 9
8: iconst_0
ireturn
9: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 4
start local 4 10: aload 0
aload 4
invokevirtual sun.print.UnixPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 12
11: iconst_0
ireturn
12: StackMap locals: java.lang.Class
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 17
13: aload 2
ifnull 14
aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isServiceFormattedFlavor:(Ljavax/print/DocFlavor;)Z
ifeq 16
14: StackMap locals:
StackMap stack:
aload 1
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 15
iconst_1
ireturn
StackMap locals:
StackMap stack:
15: iconst_0
ireturn
16: StackMap locals:
StackMap stack:
iconst_0
ireturn
17: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 25
18: aload 2
ifnull 22
19: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.POSTSCRIPT:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 24
20: aload 2
getstatic javax.print.DocFlavor$URL.POSTSCRIPT:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 24
21: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.POSTSCRIPT:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 24
22: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast javax.print.attribute.standard.Copies
invokevirtual sun.print.UnixPrintService.isSupportedCopies:(Ljavax/print/attribute/standard/Copies;)Z
ifeq 24
23: iconst_1
ireturn
StackMap locals:
StackMap stack:
24: iconst_0
ireturn
25: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Destination;
if_acmpne 31
26: aload 1
checkcast javax.print.attribute.standard.Destination
invokevirtual javax.print.attribute.standard.Destination.getURI:()Ljava/net/URI;
astore 5
start local 5 27: ldc "file"
aload 5
invokevirtual java.net.URI.getScheme:()Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 30
28: aload 5
invokevirtual java.net.URI.getSchemeSpecificPart:()Ljava/lang/String;
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 30
29: iconst_1
ireturn
30: StackMap locals: java.net.URI
StackMap stack:
iconst_0
ireturn
end local 5 31: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 35
32: aload 1
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 34
33: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual sun.print.UnixPrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ireturn
34: StackMap locals:
StackMap stack:
iconst_0
ireturn
35: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 40
36: aload 1
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpeq 39
37: aload 2
ifnull 55
38: aload 0
aload 2
invokevirtual sun.print.UnixPrintService.isServiceFormattedFlavor:(Ljavax/print/DocFlavor;)Z
ifne 55
39: StackMap locals:
StackMap stack:
iconst_0
ireturn
40: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 45
41: aload 2
ifnull 55
42: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
43: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
44: iconst_0
ireturn
45: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 50
46: aload 2
ifnull 55
47: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
48: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
49: iconst_0
ireturn
50: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 55
51: aload 2
ifnull 55
52: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
53: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 55
54: iconst_0
ireturn
55: 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 56 0 this Lsun/print/UnixPrintService;
0 56 1 attr Ljavax/print/attribute/Attribute;
0 56 2 flavor Ljavax/print/DocFlavor;
0 56 3 attributes Ljavax/print/attribute/AttributeSet;
10 56 4 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
27 31 5 uri Ljava/net/URI;
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.UnixPrintService.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 22
10: StackMap locals: sun.print.UnixPrintService 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.UnixPrintService.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 21
StackMap locals: sun.print.UnixPrintService javax.print.DocFlavor javax.print.attribute.AttributeSet javax.print.attribute.Attribute javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack:
14: aload 0
aload 3
aload 1
15: aload 2
16: invokevirtual sun.print.UnixPrintService.isAttributeValueSupported:(Ljavax/print/attribute/Attribute;Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Z
17: ifne 21
18: aload 4
aload 3
invokeinterface javax.print.attribute.AttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
19: goto 21
end local 3 StackMap locals: sun.print.UnixPrintService javax.print.DocFlavor javax.print.attribute.AttributeSet top javax.print.attribute.AttributeSet javax.print.attribute.Attribute[] int
StackMap stack: java.lang.ClassCastException
20: pop
21: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
22: iload 6
aload 5
arraylength
if_icmplt 10
end local 6 23: aload 4
invokeinterface javax.print.attribute.AttributeSet.isEmpty:()Z
ifeq 25
24: aconst_null
areturn
25: 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 26 0 this Lsun/print/UnixPrintService;
0 26 1 flavor Ljavax/print/DocFlavor;
0 26 2 attributes Ljavax/print/attribute/AttributeSet;
11 20 3 attr Ljavax/print/attribute/Attribute;
7 26 4 unsupp Ljavax/print/attribute/AttributeSet;
8 26 5 attrs [Ljavax/print/attribute/Attribute;
9 23 6 i I
Exception table:
from to target type
10 19 20 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/UnixPrintService;
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 "Unix Printer : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.print.UnixPrintService.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/UnixPrintService;
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.UnixPrintService
ifeq 3
2: aload 1
checkcast sun.print.UnixPrintService
invokevirtual sun.print.UnixPrintService.getName:()Ljava/lang/String;
aload 0
invokevirtual sun.print.UnixPrintService.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/UnixPrintService;
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.UnixPrintService.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/UnixPrintService;
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/print/PSPrinterJob;
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/UnixPrintService;
0 2 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
}
SourceFile: "UnixPrintService.java"
InnerClasses:
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public CHAR_ARRAY = javax.print.DocFlavor$CHAR_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public READER = javax.print.DocFlavor$READER of javax.print.DocFlavor
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
public STRING = javax.print.DocFlavor$STRING of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
public final ISO = javax.print.attribute.standard.MediaSize$ISO of javax.print.attribute.standard.MediaSize
public final NA = javax.print.attribute.standard.MediaSize$NA of javax.print.attribute.standard.MediaSize