public class sun.print.PSStreamPrintService extends javax.print.StreamPrintService implements sun.print.SunPrinterJobService
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.print.PSStreamPrintService
super_class: javax.print.StreamPrintService
{
private static final java.lang.Class<?>[] suppAttrCats;
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
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: bipush 11
anewarray java.lang.Class
dup
iconst_0
1: ldc Ljavax/print/attribute/standard/Chromaticity;
aastore
dup
iconst_1
2: ldc Ljavax/print/attribute/standard/Copies;
aastore
dup
iconst_2
3: ldc Ljavax/print/attribute/standard/Fidelity;
aastore
dup
iconst_3
4: ldc Ljavax/print/attribute/standard/JobName;
aastore
dup
iconst_4
5: ldc Ljavax/print/attribute/standard/Media;
aastore
dup
iconst_5
6: ldc Ljavax/print/attribute/standard/MediaPrintableArea;
aastore
dup
bipush 6
7: ldc Ljavax/print/attribute/standard/OrientationRequested;
aastore
dup
bipush 7
8: ldc Ljavax/print/attribute/standard/PageRanges;
aastore
dup
bipush 8
9: ldc Ljavax/print/attribute/standard/RequestingUserName;
aastore
dup
bipush 9
10: ldc Ljavax/print/attribute/standard/SheetCollate;
aastore
dup
bipush 10
11: ldc Ljavax/print/attribute/standard/Sides;
aastore
12: putstatic sun.print.PSStreamPrintService.suppAttrCats:[Ljava/lang/Class;
13: sipush 1000
putstatic sun.print.PSStreamPrintService.MAXCOPIES:I
14: bipush 10
anewarray javax.print.attribute.standard.MediaSizeName
dup
iconst_0
15: getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_1
16: getstatic javax.print.attribute.standard.MediaSizeName.TABLOID:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_2
17: getstatic javax.print.attribute.standard.MediaSizeName.LEDGER:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_3
18: getstatic javax.print.attribute.standard.MediaSizeName.NA_LEGAL:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_4
19: getstatic javax.print.attribute.standard.MediaSizeName.EXECUTIVE:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
iconst_5
20: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A3:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 6
21: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 7
22: getstatic javax.print.attribute.standard.MediaSizeName.ISO_A5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 8
23: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B4:Ljavax/print/attribute/standard/MediaSizeName;
aastore
dup
bipush 9
24: getstatic javax.print.attribute.standard.MediaSizeName.ISO_B5:Ljavax/print/attribute/standard/MediaSizeName;
aastore
25: putstatic sun.print.PSStreamPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
26: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>(java.io.OutputStream);
descriptor: (Ljava/io/OutputStream;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.print.StreamPrintService.<init>:(Ljava/io/OutputStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/print/PSStreamPrintService;
0 2 1 out Ljava/io/OutputStream;
MethodParameters:
Name Flags
out
public java.lang.String getOutputFormat();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "application/postscript"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
public javax.print.DocFlavor[] getSupportedDocFlavors();
descriptor: ()[Ljavax/print/DocFlavor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: invokestatic sun.print.PSStreamPrinterFactory.getFlavors:()[Ljavax/print/DocFlavor;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
public javax.print.DocPrintJob createPrintJob();
descriptor: ()Ljavax/print/DocPrintJob;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new sun.print.PSStreamPrintJob
dup
aload 0
invokespecial sun.print.PSStreamPrintJob.<init>:(Lsun/print/PSStreamPrintService;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
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/PSStreamPrintService;
0 2 1 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)Z
MethodParameters:
Name Flags
c
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: ldc "Postscript output"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
public void addPrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
0 1 1 listener Ljavax/print/event/PrintServiceAttributeListener;
MethodParameters:
Name Flags
listener
public void removePrintServiceAttributeListener(javax.print.event.PrintServiceAttributeListener);
descriptor: (Ljavax/print/event/PrintServiceAttributeListener;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=2, args_size=2
start local 0 start local 1 0: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/print/PSStreamPrintService;
0 1 1 listener Ljavax/print/event/PrintServiceAttributeListener;
MethodParameters:
Name Flags
listener
public <T extends javax.print.attribute.PrintServiceAttribute> T getAttribute(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljavax/print/attribute/PrintServiceAttribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.NullPointerException
dup
ldc "category"
invokespecial java.lang.NullPointerException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
ldc Ljavax/print/attribute/PrintServiceAttribute;
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 4
3: new java.lang.IllegalArgumentException
dup
ldc "Not a PrintServiceAttribute"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/ColorSupported;
if_acmpne 7
5: getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
astore 2
start local 2 6: aload 2
areturn
end local 2 7: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/print/PSStreamPrintService;
0 8 1 category Ljava/lang/Class<TT;>;
6 7 2 tmp 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=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
getstatic javax.print.attribute.standard.ColorSupported.SUPPORTED:Ljavax/print/attribute/standard/ColorSupported;
invokeinterface javax.print.attribute.PrintServiceAttributeSet.add:(Ljavax/print/attribute/Attribute;)Z
pop
2: aload 1
invokestatic javax.print.attribute.AttributeSetUtilities.unmodifiableView:(Ljavax/print/attribute/PrintServiceAttributeSet;)Ljavax/print/attribute/PrintServiceAttributeSet;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/PSStreamPrintService;
1 3 1 attrs Ljavax/print/attribute/PrintServiceAttributeSet;
public boolean isDocFlavorSupported(javax.print.DocFlavor);
descriptor: (Ljavax/print/DocFlavor;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual sun.print.PSStreamPrintService.getSupportedDocFlavors:()[Ljavax/print/DocFlavor;
astore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 6
3: StackMap locals: javax.print.DocFlavor[] int
StackMap stack:
aload 1
aload 2
iload 3
aaload
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 2
arraylength
if_icmplt 3
end local 3 7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/print/PSStreamPrintService;
0 8 1 flavor Ljavax/print/DocFlavor;
1 8 2 flavors [Ljavax/print/DocFlavor;
2 7 3 f I
MethodParameters:
Name Flags
flavor
public java.lang.Class<?>[] getSupportedAttributeCategories();
descriptor: ()[Ljava/lang/Class;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: getstatic sun.print.PSStreamPrintService.suppAttrCats:[Ljava/lang/Class;
arraylength
anewarray java.lang.Class
astore 1
start local 1 1: getstatic sun.print.PSStreamPrintService.suppAttrCats:[Ljava/lang/Class;
iconst_0
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/print/PSStreamPrintService;
1 3 1 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.PSStreamPrintService.suppAttrCats:[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.PSStreamPrintService.suppAttrCats:[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/PSStreamPrintService;
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=6, 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.PSStreamPrintService.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/Fidelity;
if_acmpne 14
13: getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
areturn
14: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 22
15: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 2
start local 2 16: aload 2
ifnull 21
17: aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 20
18: 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 20
19: 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 21
20: StackMap locals: java.lang.String
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.NA_LETTER:Ljavax/print/attribute/standard/MediaSizeName;
areturn
21: StackMap locals:
StackMap stack:
getstatic javax.print.attribute.standard.MediaSizeName.ISO_A4:Ljavax/print/attribute/standard/MediaSizeName;
areturn
end local 2 22: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 37
23: invokestatic java.util.Locale.getDefault:()Ljava/util/Locale;
invokevirtual java.util.Locale.getCountry:()Ljava/lang/String;
astore 2
start local 2 24: ldc 0.5
fstore 5
start local 5 25: aload 2
ifnull 32
26: aload 2
ldc ""
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 29
27: 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 29
28: 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 32
29: StackMap locals: sun.print.PSStreamPrintService java.lang.Class java.lang.String top top float
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
fconst_2
fload 5
fmul
fsub
fstore 3
start local 3 30: getstatic javax.print.attribute.standard.MediaSize$NA.LETTER:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
fconst_2
fload 5
fmul
fsub
fstore 4
start local 4 31: goto 34
end local 4 end local 3 32: 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
fconst_2
fload 5
fmul
fsub
fstore 3
start local 3 33: getstatic javax.print.attribute.standard.MediaSize$ISO.A4:Ljavax/print/attribute/standard/MediaSize;
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
fconst_2
fload 5
fmul
fsub
fstore 4
start local 4 34: StackMap locals: sun.print.PSStreamPrintService java.lang.Class java.lang.String float float float
StackMap stack:
new javax.print.attribute.standard.MediaPrintableArea
dup
fload 5
fload 5
fload 3
fload 4
35: sipush 25400
36: invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
areturn
end local 5 end local 4 end local 3 end local 2 37: StackMap locals: sun.print.PSStreamPrintService java.lang.Class
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 39
38: getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
areturn
39: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 41
40: new javax.print.attribute.standard.PageRanges
dup
iconst_1
ldc 2147483647
invokespecial javax.print.attribute.standard.PageRanges.<init>:(II)V
areturn
41: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 43
42: getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
areturn
43: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 45
44: getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
areturn
45: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 46 0 this Lsun/print/PSStreamPrintService;
0 46 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
16 22 2 defaultCountry Ljava/lang/String;
24 37 2 defaultCountry Ljava/lang/String;
30 32 3 iw F
33 37 3 iw F
31 32 4 ih F
34 37 4 ih F
25 37 5 margin F
Signature: (Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;)Ljava/lang/Object;
MethodParameters:
Name Flags
category
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=10, locals=10, 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 10
aload 0
aload 2
invokevirtual sun.print.PSStreamPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 10
7: 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;
8: ldc " is an unsupported flavor"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual sun.print.PSStreamPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 12
11: aconst_null
areturn
12: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 16
13: iconst_1
anewarray javax.print.attribute.standard.Chromaticity
astore 4
start local 4 14: aload 4
iconst_0
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
aastore
15: aload 4
areturn
end local 4 16: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/JobName;
if_acmpne 18
17: new javax.print.attribute.standard.JobName
dup
ldc ""
aconst_null
invokespecial javax.print.attribute.standard.JobName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
18: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/RequestingUserName;
if_acmpne 20
19: new javax.print.attribute.standard.RequestingUserName
dup
ldc ""
aconst_null
invokespecial javax.print.attribute.standard.RequestingUserName.<init>:(Ljava/lang/String;Ljava/util/Locale;)V
areturn
20: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 39
21: aload 2
ifnull 33
22: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
23: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
24: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.GIF:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
25: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.JPEG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
26: aload 2
getstatic javax.print.DocFlavor$INPUT_STREAM.PNG:Ljavax/print/DocFlavor$INPUT_STREAM;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
27: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.GIF:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
28: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.JPEG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
29: aload 2
getstatic javax.print.DocFlavor$BYTE_ARRAY.PNG:Ljavax/print/DocFlavor$BYTE_ARRAY;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
30: aload 2
getstatic javax.print.DocFlavor$URL.GIF:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
31: aload 2
getstatic javax.print.DocFlavor$URL.JPEG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 33
32: aload 2
getstatic javax.print.DocFlavor$URL.PNG:Ljavax/print/DocFlavor$URL;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 38
33: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.OrientationRequested
astore 4
start local 4 34: aload 4
iconst_0
getstatic javax.print.attribute.standard.OrientationRequested.PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
aastore
35: aload 4
iconst_1
getstatic javax.print.attribute.standard.OrientationRequested.LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
36: aload 4
iconst_2
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_LANDSCAPE:Ljavax/print/attribute/standard/OrientationRequested;
aastore
37: aload 4
areturn
end local 4 38: StackMap locals:
StackMap stack:
aconst_null
areturn
39: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Copies;
if_acmpeq 41
40: aload 1
ldc Ljavax/print/attribute/standard/CopiesSupported;
if_acmpne 42
41: StackMap locals:
StackMap stack:
new javax.print.attribute.standard.CopiesSupported
dup
iconst_1
getstatic sun.print.PSStreamPrintService.MAXCOPIES:I
invokespecial javax.print.attribute.standard.CopiesSupported.<init>:(II)V
areturn
42: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 46
43: getstatic sun.print.PSStreamPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
anewarray javax.print.attribute.standard.Media
astore 4
start local 4 44: getstatic sun.print.PSStreamPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
iconst_0
aload 4
iconst_0
getstatic sun.print.PSStreamPrintService.mediaSizes:[Ljavax/print/attribute/standard/MediaSizeName;
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
45: aload 4
areturn
end local 4 46: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Fidelity;
if_acmpne 51
47: iconst_2
anewarray javax.print.attribute.standard.Fidelity
astore 4
start local 4 48: aload 4
iconst_0
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_FALSE:Ljavax/print/attribute/standard/Fidelity;
aastore
49: aload 4
iconst_1
getstatic javax.print.attribute.standard.Fidelity.FIDELITY_TRUE:Ljavax/print/attribute/standard/Fidelity;
aastore
50: aload 4
areturn
end local 4 51: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/MediaPrintableArea;
if_acmpne 77
52: aload 3
ifnonnull 54
53: aconst_null
areturn
54: 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 55: aload 4
ifnonnull 60
56: 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 57: aload 5
ifnull 60
aload 5
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 60
58: aload 5
checkcast javax.print.attribute.standard.MediaSizeName
astore 6
start local 6 59: aload 6
invokestatic javax.print.attribute.standard.MediaSize.getMediaSizeForName:(Ljavax/print/attribute/standard/MediaSizeName;)Ljavax/print/attribute/standard/MediaSize;
astore 4
end local 6 end local 5 60: StackMap locals: javax.print.attribute.standard.MediaSize
StackMap stack:
aload 4
ifnonnull 62
61: aconst_null
areturn
62: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.MediaPrintableArea
astore 5
start local 5 63: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getX:(I)F
fstore 6
start local 6 64: aload 4
sipush 25400
invokevirtual javax.print.attribute.standard.MediaSize.getY:(I)F
fstore 7
start local 7 65: ldc 0.5
fstore 8
start local 8 66: ldc 0.5
fstore 9
start local 9 67: fload 6
ldc 5.0
fcmpg
ifge 69
68: fload 6
ldc 10.0
fdiv
fstore 8
69: StackMap locals: sun.print.PSStreamPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet javax.print.attribute.standard.MediaSize javax.print.attribute.standard.MediaPrintableArea[] float float float float
StackMap stack:
fload 7
ldc 5.0
fcmpg
ifge 71
70: fload 7
ldc 10.0
fdiv
fstore 9
71: StackMap locals:
StackMap stack:
aload 5
iconst_0
new javax.print.attribute.standard.MediaPrintableArea
dup
fload 8
fload 9
72: fload 6
fconst_2
fload 8
fmul
fsub
73: fload 7
fconst_2
fload 9
fmul
fsub
74: sipush 25400
invokespecial javax.print.attribute.standard.MediaPrintableArea.<init>:(FFFFI)V
75: aastore
76: aload 5
areturn
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 77: StackMap locals: sun.print.PSStreamPrintService java.lang.Class javax.print.DocFlavor javax.print.attribute.AttributeSet
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 85
78: aload 2
ifnull 81
79: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 81
80: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 84
81: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.PageRanges
astore 4
start local 4 82: 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
83: aload 4
areturn
end local 4 84: StackMap locals:
StackMap stack:
aconst_null
areturn
85: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 96
86: aload 2
ifnull 89
87: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 89
88: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifeq 93
89: StackMap locals:
StackMap stack:
iconst_2
anewarray javax.print.attribute.standard.SheetCollate
astore 4
start local 4 90: aload 4
iconst_0
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
91: aload 4
iconst_1
getstatic javax.print.attribute.standard.SheetCollate.COLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
92: aload 4
areturn
end local 4 93: StackMap locals:
StackMap stack:
iconst_1
anewarray javax.print.attribute.standard.SheetCollate
astore 4
start local 4 94: aload 4
iconst_0
getstatic javax.print.attribute.standard.SheetCollate.UNCOLLATED:Ljavax/print/attribute/standard/SheetCollate;
aastore
95: aload 4
areturn
end local 4 96: StackMap locals:
StackMap stack:
aload 1
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 106
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 105
100: StackMap locals:
StackMap stack:
iconst_3
anewarray javax.print.attribute.standard.Sides
astore 4
start local 4 101: aload 4
iconst_0
getstatic javax.print.attribute.standard.Sides.ONE_SIDED:Ljavax/print/attribute/standard/Sides;
aastore
102: aload 4
iconst_1
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_LONG_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
103: aload 4
iconst_2
getstatic javax.print.attribute.standard.Sides.TWO_SIDED_SHORT_EDGE:Ljavax/print/attribute/standard/Sides;
aastore
104: aload 4
areturn
end local 4 105: StackMap locals:
StackMap stack:
aconst_null
areturn
106: 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 107 0 this Lsun/print/PSStreamPrintService;
0 107 1 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
0 107 2 flavor Ljavax/print/DocFlavor;
0 107 3 attributes Ljavax/print/attribute/AttributeSet;
14 16 4 arr [Ljavax/print/attribute/standard/Chromaticity;
34 38 4 arr [Ljavax/print/attribute/standard/OrientationRequested;
44 46 4 arr [Ljavax/print/attribute/standard/Media;
48 51 4 arr [Ljavax/print/attribute/standard/Fidelity;
55 77 4 mediaSize Ljavax/print/attribute/standard/MediaSize;
57 60 5 media Ljavax/print/attribute/standard/Media;
59 60 6 msn Ljavax/print/attribute/standard/MediaSizeName;
63 77 5 arr [Ljavax/print/attribute/standard/MediaPrintableArea;
64 77 6 w F
65 77 7 h F
66 77 8 xmargin F
67 77 9 ymargin F
82 84 4 arr [Ljavax/print/attribute/standard/PageRanges;
90 93 4 arr [Ljavax/print/attribute/standard/SheetCollate;
94 96 4 arr [Ljavax/print/attribute/standard/SheetCollate;
101 105 4 arr [Ljavax/print/attribute/standard/Sides;
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 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.PSStreamPrintService.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/PSStreamPrintService;
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.PSStreamPrintService.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.PSStreamPrintService.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/PSStreamPrintService;
0 7 1 msn Ljavax/print/attribute/standard/MediaSizeName;
1 6 2 i I
MethodParameters:
Name Flags
msn
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=5, 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 6
aload 0
aload 2
invokevirtual sun.print.PSStreamPrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 6
3: 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;
4: ldc " is an unsupported flavor"
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 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
astore 4
start local 4 7: aload 0
aload 4
invokevirtual sun.print.PSStreamPrintService.isAttributeCategorySupported:(Ljava/lang/Class;)Z
ifne 9
8: iconst_0
ireturn
9: 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 12
10: aload 1
getstatic javax.print.attribute.standard.Chromaticity.COLOR:Ljavax/print/attribute/standard/Chromaticity;
if_acmpne 11
iconst_1
ireturn
StackMap locals:
StackMap stack:
11: iconst_0
ireturn
12: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Copies;
if_acmpne 14
13: aload 0
aload 1
checkcast javax.print.attribute.standard.Copies
invokevirtual sun.print.PSStreamPrintService.isSupportedCopies:(Ljavax/print/attribute/standard/Copies;)Z
ireturn
14: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Media;
if_acmpne 17
15: aload 1
instanceof javax.print.attribute.standard.MediaSizeName
ifeq 17
16: aload 0
aload 1
checkcast javax.print.attribute.standard.MediaSizeName
invokevirtual sun.print.PSStreamPrintService.isSupportedMedia:(Ljavax/print/attribute/standard/MediaSizeName;)Z
ireturn
17: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/OrientationRequested;
if_acmpne 23
18: aload 1
getstatic javax.print.attribute.standard.OrientationRequested.REVERSE_PORTRAIT:Ljavax/print/attribute/standard/OrientationRequested;
if_acmpeq 22
19: aload 2
ifnull 38
20: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
21: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
22: StackMap locals:
StackMap stack:
iconst_0
ireturn
23: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/PageRanges;
if_acmpne 28
24: aload 2
ifnull 38
25: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
26: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
27: iconst_0
ireturn
28: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/SheetCollate;
if_acmpne 33
29: aload 2
ifnull 38
30: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
31: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
32: iconst_0
ireturn
33: StackMap locals:
StackMap stack:
aload 1
invokeinterface javax.print.attribute.Attribute.getCategory:()Ljava/lang/Class;
ldc Ljavax/print/attribute/standard/Sides;
if_acmpne 38
34: aload 2
ifnull 38
35: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PAGEABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
36: aload 2
getstatic javax.print.DocFlavor$SERVICE_FORMATTED.PRINTABLE:Ljavax/print/DocFlavor$SERVICE_FORMATTED;
invokevirtual javax.print.DocFlavor.equals:(Ljava/lang/Object;)Z
ifne 38
37: iconst_0
ireturn
38: 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 39 0 this Lsun/print/PSStreamPrintService;
0 39 1 attr Ljavax/print/attribute/Attribute;
0 39 2 flavor Ljavax/print/DocFlavor;
0 39 3 attributes Ljavax/print/attribute/AttributeSet;
7 39 4 category Ljava/lang/Class<+Ljavax/print/attribute/Attribute;>;
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.PSStreamPrintService.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.PSStreamPrintService 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.PSStreamPrintService.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.PSStreamPrintService 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.PSStreamPrintService.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.PSStreamPrintService 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/PSStreamPrintService;
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/PSStreamPrintService;
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 "PSStreamPrintService: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual sun.print.PSStreamPrintService.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/PSStreamPrintService;
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.PSStreamPrintService
ifeq 3
2: aload 1
checkcast sun.print.PSStreamPrintService
invokevirtual sun.print.PSStreamPrintService.getName:()Ljava/lang/String;
aload 0
invokevirtual sun.print.PSStreamPrintService.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/PSStreamPrintService;
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.PSStreamPrintService.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/PSStreamPrintService;
}
SourceFile: "PSStreamPrintService.java"
InnerClasses:
public BYTE_ARRAY = javax.print.DocFlavor$BYTE_ARRAY of javax.print.DocFlavor
public INPUT_STREAM = javax.print.DocFlavor$INPUT_STREAM of javax.print.DocFlavor
public SERVICE_FORMATTED = javax.print.DocFlavor$SERVICE_FORMATTED of javax.print.DocFlavor
public URL = javax.print.DocFlavor$URL of javax.print.DocFlavor
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