public final class com.sun.prism.j2d.PrismPrintPipeline extends com.sun.javafx.tk.PrintPipeline
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.prism.j2d.PrismPrintPipeline
super_class: com.sun.javafx.tk.PrintPipeline
{
private static javafx.print.Printer defaultPrinter;
descriptor: Ljavafx/print/Printer;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
private static final com.sun.prism.j2d.PrismPrintPipeline$NameComparator nameComparator;
descriptor: Lcom/sun/prism/j2d/PrismPrintPipeline$NameComparator;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static javafx.collections.ObservableSet<javafx.print.Printer> printerSet;
descriptor: Ljavafx/collections/ObservableSet;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Signature: Ljavafx/collections/ObservableSet<Ljavafx/print/Printer;>;
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: aconst_null
putstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
1: new com.sun.prism.j2d.PrismPrintPipeline$NameComparator
dup
invokespecial com.sun.prism.j2d.PrismPrintPipeline$NameComparator.<init>:()V
putstatic com.sun.prism.j2d.PrismPrintPipeline.nameComparator:Lcom/sun/prism/j2d/PrismPrintPipeline$NameComparator;
2: aconst_null
putstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.javafx.tk.PrintPipeline.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/PrismPrintPipeline;
public static com.sun.javafx.tk.PrintPipeline getInstance();
descriptor: ()Lcom/sun/javafx/tk/PrintPipeline;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.sun.prism.j2d.PrismPrintPipeline
dup
invokespecial com.sun.prism.j2d.PrismPrintPipeline.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
public boolean printNode(com.sun.javafx.sg.prism.NGNode, int, int, java.awt.Graphics);
descriptor: (Lcom/sun/javafx/sg/prism/NGNode;IILjava/awt/Graphics;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: new com.sun.prism.j2d.PrismPrintGraphics
dup
aload 4
checkcast java.awt.Graphics2D
iload 2
iload 3
invokespecial com.sun.prism.j2d.PrismPrintGraphics.<init>:(Ljava/awt/Graphics2D;II)V
astore 5
start local 5 1: aload 1
aload 5
invokevirtual com.sun.javafx.sg.prism.NGNode.render:(Lcom/sun/prism/Graphics;)V
2: iconst_1
ireturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/prism/j2d/PrismPrintPipeline;
0 3 1 ngNode Lcom/sun/javafx/sg/prism/NGNode;
0 3 2 w I
0 3 3 h I
0 3 4 g Ljava/awt/Graphics;
1 3 5 ppg Lcom/sun/prism/j2d/PrismPrintGraphics;
MethodParameters:
Name Flags
ngNode
w
h
g
public com.sun.javafx.print.PrinterJobImpl createPrinterJob(javafx.print.PrinterJob);
descriptor: (Ljavafx/print/PrinterJob;)Lcom/sun/javafx/print/PrinterJobImpl;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.prism.j2d.print.J2DPrinterJob
dup
aload 1
invokespecial com.sun.prism.j2d.print.J2DPrinterJob.<init>:(Ljavafx/print/PrinterJob;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/prism/j2d/PrismPrintPipeline;
0 1 1 job Ljavafx/print/PrinterJob;
MethodParameters:
Name Flags
job
public synchronized javafx.print.Printer getDefaultPrinter();
descriptor: ()Ljavafx/print/Printer;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=6, args_size=1
start local 0 0: getstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
ifnonnull 18
1: invokestatic javax.print.PrintServiceLookup.lookupDefaultPrintService:()Ljavax/print/PrintService;
2: astore 1
start local 1 3: aload 1
ifnonnull 6
4: aconst_null
putstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
5: goto 18
6: StackMap locals: javax.print.PrintService
StackMap stack:
getstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
ifnonnull 10
7: new com.sun.prism.j2d.print.J2DPrinter
dup
aload 1
invokespecial com.sun.prism.j2d.print.J2DPrinter.<init>:(Ljavax/print/PrintService;)V
astore 2
start local 2 8: aload 2
invokestatic com.sun.javafx.print.PrintHelper.createPrinter:(Lcom/sun/javafx/print/PrinterImpl;)Ljavafx/print/Printer;
putstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
end local 2 9: goto 18
10: StackMap locals:
StackMap stack:
getstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
invokeinterface javafx.collections.ObservableSet.iterator:()Ljava/util/Iterator;
astore 3
goto 17
StackMap locals: com.sun.prism.j2d.PrismPrintPipeline javax.print.PrintService top java.util.Iterator
StackMap stack:
11: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javafx.print.Printer
astore 2
start local 2 12: aload 2
invokestatic com.sun.javafx.print.PrintHelper.getPrinterImpl:(Ljavafx/print/Printer;)Lcom/sun/javafx/print/PrinterImpl;
astore 4
start local 4 13: aload 4
checkcast com.sun.prism.j2d.print.J2DPrinter
astore 5
start local 5 14: aload 5
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
aload 1
invokeinterface javax.print.PrintService.equals:(Ljava/lang/Object;)Z
ifeq 17
15: aload 2
putstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
16: goto 18
end local 5 end local 4 end local 2 17: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
end local 1 18: StackMap locals: com.sun.prism.j2d.PrismPrintPipeline
StackMap stack:
getstatic com.sun.prism.j2d.PrismPrintPipeline.defaultPrinter:Ljavafx/print/Printer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/prism/j2d/PrismPrintPipeline;
3 18 1 defPrt Ljavax/print/PrintService;
8 9 2 impl Lcom/sun/javafx/print/PrinterImpl;
12 17 2 p Ljavafx/print/Printer;
13 17 4 impl Lcom/sun/javafx/print/PrinterImpl;
14 17 5 j2dp Lcom/sun/prism/j2d/print/J2DPrinter;
public synchronized javafx.collections.ObservableSet<javafx.print.Printer> getAllPrinters();
descriptor: ()Ljavafx/collections/ObservableSet;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=8, args_size=1
start local 0 0: getstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
ifnonnull 24
1: new java.util.TreeSet
dup
getstatic com.sun.prism.j2d.PrismPrintPipeline.nameComparator:Lcom/sun/prism/j2d/PrismPrintPipeline$NameComparator;
invokespecial java.util.TreeSet.<init>:(Ljava/util/Comparator;)V
astore 1
start local 1 2: aload 0
invokevirtual com.sun.prism.j2d.PrismPrintPipeline.getDefaultPrinter:()Ljavafx/print/Printer;
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: aload 2
ifnull 8
5: aload 2
invokestatic com.sun.javafx.print.PrintHelper.getPrinterImpl:(Ljavafx/print/Printer;)Lcom/sun/javafx/print/PrinterImpl;
checkcast com.sun.prism.j2d.print.J2DPrinter
6: astore 4
start local 4 7: aload 4
invokevirtual com.sun.prism.j2d.print.J2DPrinter.getService:()Ljavax/print/PrintService;
astore 3
end local 4 8: StackMap locals: java.util.Set javafx.print.Printer javax.print.PrintService
StackMap stack:
aconst_null
aconst_null
invokestatic javax.print.PrintServiceLookup.lookupPrintServices:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
9: astore 4
start local 4 10: iconst_0
istore 5
start local 5 11: goto 20
12: StackMap locals: javax.print.PrintService[] int
StackMap stack:
aload 3
ifnull 15
aload 3
aload 4
iload 5
aaload
invokeinterface javax.print.PrintService.equals:(Ljava/lang/Object;)Z
ifeq 15
13: aload 1
aload 2
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
14: goto 19
15: StackMap locals:
StackMap stack:
new com.sun.prism.j2d.print.J2DPrinter
dup
aload 4
iload 5
aaload
invokespecial com.sun.prism.j2d.print.J2DPrinter.<init>:(Ljavax/print/PrintService;)V
astore 6
start local 6 16: aload 6
invokestatic com.sun.javafx.print.PrintHelper.createPrinter:(Lcom/sun/javafx/print/PrinterImpl;)Ljavafx/print/Printer;
astore 7
start local 7 17: aload 6
aload 7
invokeinterface com.sun.javafx.print.PrinterImpl.setPrinter:(Ljavafx/print/Printer;)V
18: aload 1
aload 7
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 7 end local 6 19: StackMap locals:
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
20: iload 5
aload 4
arraylength
if_icmplt 12
end local 5 21: aload 1
invokestatic javafx.collections.FXCollections.observableSet:(Ljava/util/Set;)Ljavafx/collections/ObservableSet;
22: invokestatic javafx.collections.FXCollections.unmodifiableObservableSet:(Ljavafx/collections/ObservableSet;)Ljavafx/collections/ObservableSet;
23: putstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
end local 4 end local 3 end local 2 end local 1 24: StackMap locals: com.sun.prism.j2d.PrismPrintPipeline
StackMap stack:
getstatic com.sun.prism.j2d.PrismPrintPipeline.printerSet:Ljavafx/collections/ObservableSet;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lcom/sun/prism/j2d/PrismPrintPipeline;
2 24 1 printers Ljava/util/Set;
3 24 2 defPrinter Ljavafx/print/Printer;
4 24 3 defService Ljavax/print/PrintService;
7 8 4 def2D Lcom/sun/prism/j2d/print/J2DPrinter;
10 24 4 allServices [Ljavax/print/PrintService;
11 21 5 i I
16 19 6 impl Lcom/sun/javafx/print/PrinterImpl;
17 19 7 printer Ljavafx/print/Printer;
Signature: ()Ljavafx/collections/ObservableSet<Ljavafx/print/Printer;>;
}
SourceFile: "PrismPrintPipeline.java"
NestMembers:
com.sun.prism.j2d.PrismPrintPipeline$NameComparator
InnerClasses:
NameComparator = com.sun.prism.j2d.PrismPrintPipeline$NameComparator of com.sun.prism.j2d.PrismPrintPipeline