class sun.swing.text.CompoundPrintable implements sun.swing.text.CountingPrintable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.swing.text.CompoundPrintable
super_class: java.lang.Object
{
private final java.util.Queue<sun.swing.text.CountingPrintable> printables;
descriptor: Ljava/util/Queue;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Queue<Lsun/swing/text/CountingPrintable;>;
private int offset;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(java.util.List<sun.swing.text.CountingPrintable>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield sun.swing.text.CompoundPrintable.offset:I
2: aload 0
new java.util.LinkedList
dup
aload 1
invokespecial java.util.LinkedList.<init>:(Ljava/util/Collection;)V
putfield sun.swing.text.CompoundPrintable.printables:Ljava/util/Queue;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lsun/swing/text/CompoundPrintable;
0 4 1 printables Ljava/util/List<Lsun/swing/text/CountingPrintable;>;
Signature: (Ljava/util/List<Lsun/swing/text/CountingPrintable;>;)V
MethodParameters:
Name Flags
printables
public int print(java.awt.Graphics, java.awt.print.PageFormat, int);
descriptor: (Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_1
istore 4
start local 4 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield sun.swing.text.CompoundPrintable.printables:Ljava/util/Queue;
invokeinterface java.util.Queue.peek:()Ljava/lang/Object;
checkcast sun.swing.text.CountingPrintable
aload 1
aload 2
iload 3
aload 0
getfield sun.swing.text.CompoundPrintable.offset:I
isub
invokeinterface sun.swing.text.CountingPrintable.print:(Ljava/awt/Graphics;Ljava/awt/print/PageFormat;I)I
istore 4
3: iload 4
ifne 5
4: goto 7
5: StackMap locals:
StackMap stack:
aload 0
dup
getfield sun.swing.text.CompoundPrintable.offset:I
aload 0
getfield sun.swing.text.CompoundPrintable.printables:Ljava/util/Queue;
invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
checkcast sun.swing.text.CountingPrintable
invokeinterface sun.swing.text.CountingPrintable.getNumberOfPages:()I
iadd
putfield sun.swing.text.CompoundPrintable.offset:I
6: StackMap locals:
StackMap stack:
aload 0
getfield sun.swing.text.CompoundPrintable.printables:Ljava/util/Queue;
invokeinterface java.util.Queue.peek:()Ljava/lang/Object;
ifnonnull 2
7: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lsun/swing/text/CompoundPrintable;
0 8 1 graphics Ljava/awt/Graphics;
0 8 2 pf Ljava/awt/print/PageFormat;
0 8 3 pageIndex I
1 8 4 ret I
Exceptions:
throws java.awt.print.PrinterException
MethodParameters:
Name Flags
graphics final
pf final
pageIndex final
public int getNumberOfPages();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.swing.text.CompoundPrintable.offset:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/swing/text/CompoundPrintable;
}
SourceFile: "CompoundPrintable.java"