public abstract class javax.print.PrintServiceLookup
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: javax.print.PrintServiceLookup
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/print/PrintServiceLookup;
private static javax.print.PrintServiceLookup$Services getServicesForContext();
descriptor: ()Ljavax/print/PrintServiceLookup$Services;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=1, args_size=0
0: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
ldc Ljavax/print/PrintServiceLookup$Services;
invokevirtual sun.awt.AppContext.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.print.PrintServiceLookup$Services
1: astore 0
start local 0 2: aload 0
ifnonnull 5
3: new javax.print.PrintServiceLookup$Services
dup
invokespecial javax.print.PrintServiceLookup$Services.<init>:()V
astore 0
4: invokestatic sun.awt.AppContext.getAppContext:()Lsun/awt/AppContext;
ldc Ljavax/print/PrintServiceLookup$Services;
aload 0
invokevirtual sun.awt.AppContext.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: StackMap locals: javax.print.PrintServiceLookup$Services
StackMap stack:
aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 6 0 services Ljavax/print/PrintServiceLookup$Services;
private static java.util.ArrayList<javax.print.PrintServiceLookup> getListOfLookupServices();
descriptor: ()Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic javax.print.PrintServiceLookup.getServicesForContext:()Ljavax/print/PrintServiceLookup$Services;
getfield javax.print.PrintServiceLookup$Services.listOfLookupServices:Ljava/util/ArrayList;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/ArrayList<Ljavax/print/PrintServiceLookup;>;
private static java.util.ArrayList<javax.print.PrintServiceLookup> initListOfLookupServices();
descriptor: ()Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: invokestatic javax.print.PrintServiceLookup.getServicesForContext:()Ljavax/print/PrintServiceLookup$Services;
aload 0
putfield javax.print.PrintServiceLookup$Services.listOfLookupServices:Ljava/util/ArrayList;
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 listOfLookupServices Ljava/util/ArrayList<Ljavax/print/PrintServiceLookup;>;
Signature: ()Ljava/util/ArrayList<Ljavax/print/PrintServiceLookup;>;
private static java.util.ArrayList<javax.print.PrintService> getRegisteredServices();
descriptor: ()Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic javax.print.PrintServiceLookup.getServicesForContext:()Ljavax/print/PrintServiceLookup$Services;
getfield javax.print.PrintServiceLookup$Services.registeredServices:Ljava/util/ArrayList;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/ArrayList<Ljavax/print/PrintService;>;
private static java.util.ArrayList<javax.print.PrintService> initRegisteredServices();
descriptor: ()Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=0
0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 0
start local 0 1: invokestatic javax.print.PrintServiceLookup.getServicesForContext:()Ljavax/print/PrintServiceLookup$Services;
aload 0
putfield javax.print.PrintServiceLookup$Services.registeredServices:Ljava/util/ArrayList;
2: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 3 0 registeredServices Ljava/util/ArrayList<Ljavax/print/PrintService;>;
Signature: ()Ljava/util/ArrayList<Ljavax/print/PrintService;>;
public static final javax.print.PrintService[] lookupPrintServices(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic javax.print.PrintServiceLookup.getServices:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList;
astore 2
start local 2 1: aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.PrintService
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.PrintService[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 flavor Ljavax/print/DocFlavor;
0 2 1 attributes Ljavax/print/attribute/AttributeSet;
1 2 2 list Ljava/util/ArrayList<Ljavax/print/PrintService;>;
MethodParameters:
Name Flags
flavor
attributes
public static final javax.print.MultiDocPrintService[] lookupMultiDocPrintServices(javax.print.DocFlavor[], javax.print.attribute.AttributeSet);
descriptor: ([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/MultiDocPrintService;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic javax.print.PrintServiceLookup.getMultiDocServices:([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList;
astore 2
start local 2 1: aload 2
aload 2
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.MultiDocPrintService
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.MultiDocPrintService[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 flavors [Ljavax/print/DocFlavor;
0 2 1 attributes Ljavax/print/attribute/AttributeSet;
1 2 2 list Ljava/util/ArrayList<Ljavax/print/MultiDocPrintService;>;
MethodParameters:
Name Flags
flavors
attributes
public static final javax.print.PrintService lookupDefaultPrintService();
descriptor: ()Ljavax/print/PrintService;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=1, locals=3, args_size=0
0: invokestatic javax.print.PrintServiceLookup.getAllLookupServices:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 0
start local 0 1: goto 8
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.print.PrintServiceLookup
astore 1
start local 1 3: aload 1
invokevirtual javax.print.PrintServiceLookup.getDefaultPrintService:()Ljavax/print/PrintService;
astore 2
start local 2 4: aload 2
ifnull 8
5: aload 2
6: areturn
end local 2 end local 1 7: StackMap locals:
StackMap stack: java.lang.Exception
pop
8: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
1 10 0 psIterator Ljava/util/Iterator<Ljavax/print/PrintServiceLookup;>;
3 7 1 lus Ljavax/print/PrintServiceLookup;
4 7 2 service Ljavax/print/PrintService;
Exception table:
from to target type
2 6 7 Class java.lang.Exception
public static boolean registerServiceProvider(javax.print.PrintServiceLookup);
descriptor: (Ljavax/print/PrintServiceLookup;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: ldc Ljavax/print/PrintServiceLookup;
dup
astore 1
monitorenter
1: invokestatic javax.print.PrintServiceLookup.getAllLookupServices:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
2: astore 2
start local 2 3: goto 9
4: StackMap locals: java.lang.Class java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 5: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 9
6: aload 1
monitorexit
7: iconst_0
ireturn
end local 3 8: StackMap locals:
StackMap stack: java.lang.Exception
pop
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
10: invokestatic javax.print.PrintServiceLookup.getListOfLookupServices:()Ljava/util/ArrayList;
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
11: aload 1
monitorexit
12: iconst_1
ireturn
end local 2 13: StackMap locals: javax.print.PrintServiceLookup java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
14: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 sp Ljavax/print/PrintServiceLookup;
3 13 2 psIterator Ljava/util/Iterator<Ljavax/print/PrintServiceLookup;>;
5 8 3 lus Ljava/lang/Object;
Exception table:
from to target type
4 6 8 Class java.lang.Exception
1 7 13 any
8 12 13 any
13 14 13 any
MethodParameters:
Name Flags
sp
public static boolean registerService(javax.print.PrintService);
descriptor: (Ljavax/print/PrintService;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: ldc Ljavax/print/PrintServiceLookup;
dup
astore 1
monitorenter
1: aload 0
ifnull 2
aload 0
instanceof javax.print.StreamPrintService
ifeq 4
2: StackMap locals: java.lang.Class
StackMap stack:
aload 1
monitorexit
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
invokestatic javax.print.PrintServiceLookup.getRegisteredServices:()Ljava/util/ArrayList;
astore 2
start local 2 5: aload 2
ifnonnull 8
6: invokestatic javax.print.PrintServiceLookup.initRegisteredServices:()Ljava/util/ArrayList;
astore 2
7: goto 11
8: StackMap locals: java.util.ArrayList
StackMap stack:
aload 2
aload 0
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifeq 11
9: aload 1
monitorexit
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack:
aload 2
aload 0
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
12: aload 1
monitorexit
13: iconst_1
ireturn
end local 2 14: StackMap locals: javax.print.PrintService java.lang.Class
StackMap stack: java.lang.Throwable
aload 1
monitorexit
15: athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 service Ljavax/print/PrintService;
5 14 2 registeredServices Ljava/util/ArrayList<Ljavax/print/PrintService;>;
Exception table:
from to target type
1 3 14 any
4 10 14 any
11 13 14 any
14 15 14 any
MethodParameters:
Name Flags
service
public abstract javax.print.PrintService[] getPrintServices(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
flavor
attributes
public abstract javax.print.PrintService[] getPrintServices();
descriptor: ()[Ljavax/print/PrintService;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract javax.print.MultiDocPrintService[] getMultiDocPrintServices(javax.print.DocFlavor[], javax.print.attribute.AttributeSet);
descriptor: ([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/MultiDocPrintService;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
flavors
attributes
public abstract javax.print.PrintService getDefaultPrintService();
descriptor: ()Ljavax/print/PrintService;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
private static java.util.ArrayList<javax.print.PrintServiceLookup> getAllLookupServices();
descriptor: ()Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=0
0: ldc Ljavax/print/PrintServiceLookup;
dup
astore 0
monitorenter
1: invokestatic javax.print.PrintServiceLookup.getListOfLookupServices:()Ljava/util/ArrayList;
astore 1
start local 1 2: aload 1
ifnull 5
3: aload 1
aload 0
monitorexit
4: areturn
5: StackMap locals: java.lang.Class java.util.ArrayList
StackMap stack:
invokestatic javax.print.PrintServiceLookup.initListOfLookupServices:()Ljava/util/ArrayList;
astore 1
6: new javax.print.PrintServiceLookup$1
dup
invokespecial javax.print.PrintServiceLookup$1.<init>:()V
7: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedExceptionAction;)Ljava/lang/Object;
pop
8: goto 10
StackMap locals:
StackMap stack: java.security.PrivilegedActionException
9: pop
10: StackMap locals:
StackMap stack:
aload 1
aload 0
monitorexit
11: areturn
end local 1 12: StackMap locals: java.lang.Class
StackMap stack: java.lang.Throwable
aload 0
monitorexit
13: athrow
LocalVariableTable:
Start End Slot Name Signature
2 12 1 listOfLookupServices Ljava/util/ArrayList<Ljavax/print/PrintServiceLookup;>;
Exception table:
from to target type
6 8 9 Class java.security.PrivilegedActionException
1 4 12 any
5 11 12 any
12 13 12 any
Signature: ()Ljava/util/ArrayList<Ljavax/print/PrintServiceLookup;>;
private static java.util.ArrayList<javax.print.PrintService> getServices(javax.print.DocFlavor, javax.print.attribute.AttributeSet);
descriptor: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: invokestatic javax.print.PrintServiceLookup.getAllLookupServices:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 20
3: StackMap locals: java.util.ArrayList java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.print.PrintServiceLookup
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aload 0
ifnonnull 10
aload 1
ifnonnull 10
6: aload 4
invokevirtual javax.print.PrintServiceLookup.getPrintServices:()[Ljavax/print/PrintService;
astore 5
7: goto 11
StackMap locals: javax.print.DocFlavor javax.print.attribute.AttributeSet java.util.ArrayList java.util.Iterator javax.print.PrintServiceLookup javax.print.PrintService[]
StackMap stack: java.lang.Throwable
8: pop
9: goto 11
10: StackMap locals:
StackMap stack:
aload 4
aload 0
aload 1
invokevirtual javax.print.PrintServiceLookup.getPrintServices:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/PrintService;
astore 5
11: StackMap locals:
StackMap stack:
aload 5
ifnonnull 13
12: goto 20
13: StackMap locals:
StackMap stack:
iconst_0
istore 6
start local 6 14: goto 17
15: StackMap locals: int
StackMap stack:
aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
16: iinc 6 1
StackMap locals:
StackMap stack:
17: iload 6
aload 5
arraylength
if_icmplt 15
end local 6 end local 5 end local 4 18: goto 20
StackMap locals: javax.print.DocFlavor javax.print.attribute.AttributeSet java.util.ArrayList java.util.Iterator
StackMap stack: java.lang.Exception
19: pop
20: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
21: aconst_null
astore 4
start local 4 22: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 23: aload 5
ifnull 25
24: aload 5
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
25: StackMap locals: java.util.ArrayList java.lang.SecurityManager
StackMap stack:
invokestatic javax.print.PrintServiceLookup.getRegisteredServices:()Ljava/util/ArrayList;
astore 4
end local 5 26: goto 28
StackMap locals: javax.print.DocFlavor javax.print.attribute.AttributeSet java.util.ArrayList java.util.Iterator java.util.ArrayList
StackMap stack: java.lang.SecurityException
27: pop
28: StackMap locals:
StackMap stack:
aload 4
ifnull 47
29: aload 4
30: aload 4
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.PrintService
31: invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.PrintService[]
astore 5
start local 5 32: iconst_0
istore 6
start local 6 33: goto 46
34: StackMap locals: javax.print.PrintService[] int
StackMap stack:
aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 45
35: aload 0
ifnonnull 38
aload 1
ifnonnull 38
36: aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
37: goto 45
StackMap locals:
StackMap stack:
38: aload 0
ifnull 40
39: aload 5
iload 6
aaload
aload 0
invokeinterface javax.print.PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifne 41
40: StackMap locals:
StackMap stack:
aload 0
ifnonnull 45
41: StackMap locals:
StackMap stack:
aload 5
iload 6
aaload
42: aload 0
aload 1
43: invokeinterface javax.print.PrintService.getUnsupportedAttributes:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljavax/print/attribute/AttributeSet;
ifnonnull 45
44: aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
45: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
46: iload 6
aload 5
arraylength
if_icmplt 34
end local 6 end local 5 47: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 48 0 flavor Ljavax/print/DocFlavor;
0 48 1 attributes Ljavax/print/attribute/AttributeSet;
1 48 2 listOfServices Ljava/util/ArrayList<Ljavax/print/PrintService;>;
2 48 3 psIterator Ljava/util/Iterator<Ljavax/print/PrintServiceLookup;>;
4 18 4 lus Ljavax/print/PrintServiceLookup;
5 18 5 services [Ljavax/print/PrintService;
14 18 6 i I
22 48 4 registeredServices Ljava/util/ArrayList<Ljavax/print/PrintService;>;
23 26 5 security Ljava/lang/SecurityManager;
32 47 5 services [Ljavax/print/PrintService;
33 47 6 i I
Exception table:
from to target type
6 7 8 Class java.lang.Throwable
3 12 19 Class java.lang.Exception
13 18 19 Class java.lang.Exception
22 26 27 Class java.lang.SecurityException
Signature: (Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList<Ljavax/print/PrintService;>;
MethodParameters:
Name Flags
flavor
attributes
private static java.util.ArrayList<javax.print.MultiDocPrintService> getMultiDocServices(javax.print.DocFlavor[], javax.print.attribute.AttributeSet);
descriptor: ([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: invokestatic javax.print.PrintServiceLookup.getAllLookupServices:()Ljava/util/ArrayList;
invokevirtual java.util.ArrayList.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 15
3: StackMap locals: java.util.ArrayList java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.print.PrintServiceLookup
astore 4
start local 4 4: aload 4
aload 0
aload 1
invokevirtual javax.print.PrintServiceLookup.getMultiDocPrintServices:([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)[Ljavax/print/MultiDocPrintService;
5: astore 5
start local 5 6: aload 5
ifnonnull 8
7: goto 15
8: StackMap locals: javax.print.PrintServiceLookup javax.print.MultiDocPrintService[]
StackMap stack:
iconst_0
istore 6
start local 6 9: goto 12
10: StackMap locals: int
StackMap stack:
aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
11: iinc 6 1
StackMap locals:
StackMap stack:
12: iload 6
aload 5
arraylength
if_icmplt 10
end local 6 end local 5 end local 4 13: goto 15
StackMap locals: javax.print.DocFlavor[] javax.print.attribute.AttributeSet java.util.ArrayList java.util.Iterator
StackMap stack: java.lang.Exception
14: pop
15: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
16: aconst_null
astore 4
start local 4 17: invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
astore 5
start local 5 18: aload 5
ifnull 20
19: aload 5
invokevirtual java.lang.SecurityManager.checkPrintJobAccess:()V
20: StackMap locals: java.util.ArrayList java.lang.SecurityManager
StackMap stack:
invokestatic javax.print.PrintServiceLookup.getRegisteredServices:()Ljava/util/ArrayList;
astore 4
end local 5 21: goto 23
StackMap locals: javax.print.DocFlavor[] javax.print.attribute.AttributeSet java.util.ArrayList java.util.Iterator java.util.ArrayList
StackMap stack: java.lang.Exception
22: pop
23: StackMap locals:
StackMap stack:
aload 4
ifnull 50
24: aload 4
aload 4
invokevirtual java.util.ArrayList.size:()I
anewarray javax.print.PrintService
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast javax.print.PrintService[]
25: astore 5
start local 5 26: iconst_0
istore 6
start local 6 27: goto 49
28: StackMap locals: javax.print.PrintService[] int
StackMap stack:
aload 5
iload 6
aaload
instanceof javax.print.MultiDocPrintService
ifeq 48
29: aload 2
aload 5
iload 6
aaload
invokevirtual java.util.ArrayList.contains:(Ljava/lang/Object;)Z
ifne 48
30: aload 0
ifnull 31
aload 0
arraylength
ifne 33
31: StackMap locals:
StackMap stack:
aload 2
aload 5
iload 6
aaload
checkcast javax.print.MultiDocPrintService
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
32: goto 48
33: StackMap locals:
StackMap stack:
iconst_1
istore 7
start local 7 34: iconst_0
istore 8
start local 8 35: goto 45
36: StackMap locals: int int
StackMap stack:
aload 5
iload 6
aaload
aload 0
iload 8
aaload
invokeinterface javax.print.PrintService.isDocFlavorSupported:(Ljavax/print/DocFlavor;)Z
ifeq 42
37: aload 5
iload 6
aaload
38: aload 0
iload 8
aaload
aload 1
39: invokeinterface javax.print.PrintService.getUnsupportedAttributes:(Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljavax/print/attribute/AttributeSet;
ifnull 44
40: iconst_0
istore 7
41: goto 46
42: StackMap locals:
StackMap stack:
iconst_0
istore 7
43: goto 46
44: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
45: iload 8
aload 0
arraylength
if_icmplt 36
end local 8 46: StackMap locals:
StackMap stack:
iload 7
ifeq 48
47: aload 2
aload 5
iload 6
aaload
checkcast javax.print.MultiDocPrintService
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
end local 7 48: StackMap locals:
StackMap stack:
iinc 6 1
StackMap locals:
StackMap stack:
49: iload 6
aload 5
arraylength
if_icmplt 28
end local 6 end local 5 50: StackMap locals:
StackMap stack:
aload 2
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 51 0 flavors [Ljavax/print/DocFlavor;
0 51 1 attributes Ljavax/print/attribute/AttributeSet;
1 51 2 listOfServices Ljava/util/ArrayList<Ljavax/print/MultiDocPrintService;>;
2 51 3 psIterator Ljava/util/Iterator<Ljavax/print/PrintServiceLookup;>;
4 13 4 lus Ljavax/print/PrintServiceLookup;
6 13 5 services [Ljavax/print/MultiDocPrintService;
9 13 6 i I
17 51 4 registeredServices Ljava/util/ArrayList<Ljavax/print/PrintService;>;
18 21 5 security Ljava/lang/SecurityManager;
26 50 5 services [Ljavax/print/PrintService;
27 50 6 i I
34 48 7 supported Z
35 46 8 f I
Exception table:
from to target type
3 7 14 Class java.lang.Exception
8 13 14 Class java.lang.Exception
17 21 22 Class java.lang.Exception
Signature: ([Ljavax/print/DocFlavor;Ljavax/print/attribute/AttributeSet;)Ljava/util/ArrayList<Ljavax/print/MultiDocPrintService;>;
MethodParameters:
Name Flags
flavors
attributes
}
SourceFile: "PrintServiceLookup.java"
NestMembers:
javax.print.PrintServiceLookup$1 javax.print.PrintServiceLookup$Services
InnerClasses:
javax.print.PrintServiceLookup$1
Services = javax.print.PrintServiceLookup$Services of javax.print.PrintServiceLookup