class javax.imageio.spi.SubRegistry
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: javax.imageio.spi.SubRegistry
super_class: java.lang.Object
{
javax.imageio.spi.ServiceRegistry registry;
descriptor: Ljavax/imageio/spi/ServiceRegistry;
flags: (0x0000)
java.lang.Class category;
descriptor: Ljava/lang/Class;
flags: (0x0000)
final javax.imageio.spi.PartiallyOrderedSet poset;
descriptor: Ljavax/imageio/spi/PartiallyOrderedSet;
flags: (0x0010) ACC_FINAL
final java.util.Map<java.lang.Class<?>, java.lang.Object> map;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/lang/Object;>;
final java.util.Map<java.lang.Class<?>, java.security.AccessControlContext> accMap;
descriptor: Ljava/util/Map;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljava/security/AccessControlContext;>;
public void <init>(javax.imageio.spi.ServiceRegistry, java.lang.Class);
descriptor: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new javax.imageio.spi.PartiallyOrderedSet
dup
invokespecial javax.imageio.spi.PartiallyOrderedSet.<init>:()V
putfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
2: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
3: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.imageio.spi.SubRegistry.accMap:Ljava/util/Map;
4: aload 0
aload 1
putfield javax.imageio.spi.SubRegistry.registry:Ljavax/imageio/spi/ServiceRegistry;
5: aload 0
aload 2
putfield javax.imageio.spi.SubRegistry.category:Ljava/lang/Class;
6: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljavax/imageio/spi/SubRegistry;
0 7 1 registry Ljavax/imageio/spi/ServiceRegistry;
0 7 2 category Ljava/lang/Class;
MethodParameters:
Name Flags
registry
category
public boolean registerServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
ifnull 2
iconst_1
goto 3
StackMap locals: java.lang.Object
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: istore 3
start local 3 4: iload 3
ifeq 6
5: aload 0
aload 2
invokevirtual javax.imageio.spi.SubRegistry.deregisterServiceProvider:(Ljava/lang/Object;)Z
pop
6: StackMap locals: int
StackMap stack:
aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
getfield javax.imageio.spi.SubRegistry.accMap:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic java.security.AccessController.getContext:()Ljava/security/AccessControlContext;
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
8: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
aload 1
invokevirtual javax.imageio.spi.PartiallyOrderedSet.add:(Ljava/lang/Object;)Z
pop
9: aload 1
instanceof javax.imageio.spi.RegisterableService
ifeq 12
10: aload 1
checkcast javax.imageio.spi.RegisterableService
astore 4
start local 4 11: aload 4
aload 0
getfield javax.imageio.spi.SubRegistry.registry:Ljavax/imageio/spi/ServiceRegistry;
aload 0
getfield javax.imageio.spi.SubRegistry.category:Ljava/lang/Class;
invokeinterface javax.imageio.spi.RegisterableService.onRegistration:(Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
end local 4 12: StackMap locals:
StackMap stack:
iload 3
ifeq 13
iconst_0
goto 14
StackMap locals:
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/imageio/spi/SubRegistry;
0 15 1 provider Ljava/lang/Object;
1 15 2 oprovider Ljava/lang/Object;
4 15 3 present Z
11 12 4 rs Ljavax/imageio/spi/RegisterableService;
MethodParameters:
Name Flags
provider
public boolean deregisterServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 1
aload 2
if_acmpne 9
2: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
3: aload 0
getfield javax.imageio.spi.SubRegistry.accMap:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
4: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
aload 1
invokevirtual javax.imageio.spi.PartiallyOrderedSet.remove:(Ljava/lang/Object;)Z
pop
5: aload 1
instanceof javax.imageio.spi.RegisterableService
ifeq 8
6: aload 1
checkcast javax.imageio.spi.RegisterableService
astore 3
start local 3 7: aload 3
aload 0
getfield javax.imageio.spi.SubRegistry.registry:Ljavax/imageio/spi/ServiceRegistry;
aload 0
getfield javax.imageio.spi.SubRegistry.category:Ljava/lang/Class;
invokeinterface javax.imageio.spi.RegisterableService.onDeregistration:(Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
end local 3 8: StackMap locals: java.lang.Object
StackMap stack:
iconst_1
ireturn
9: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/imageio/spi/SubRegistry;
0 10 1 provider Ljava/lang/Object;
1 10 2 oprovider Ljava/lang/Object;
7 8 3 rs Ljavax/imageio/spi/RegisterableService;
MethodParameters:
Name Flags
provider
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
aload 1
if_acmpne 2
iconst_1
ireturn
StackMap locals: java.lang.Object
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 Ljavax/imageio/spi/SubRegistry;
0 3 1 provider Ljava/lang/Object;
1 3 2 oprovider Ljava/lang/Object;
MethodParameters:
Name Flags
provider
public boolean setOrdering(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
aload 1
aload 2
invokevirtual javax.imageio.spi.PartiallyOrderedSet.setOrdering:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/SubRegistry;
0 1 1 firstProvider Ljava/lang/Object;
0 1 2 secondProvider Ljava/lang/Object;
MethodParameters:
Name Flags
firstProvider
secondProvider
public boolean unsetOrdering(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
aload 1
aload 2
invokevirtual javax.imageio.spi.PartiallyOrderedSet.unsetOrdering:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/SubRegistry;
0 1 1 firstProvider Ljava/lang/Object;
0 1 2 secondProvider Ljava/lang/Object;
MethodParameters:
Name Flags
firstProvider
secondProvider
public java.util.Iterator getServiceProviders(boolean);
descriptor: (Z)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifeq 2
1: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
invokevirtual javax.imageio.spi.PartiallyOrderedSet.iterator:()Ljava/util/Iterator;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/spi/SubRegistry;
0 3 1 useOrdering Z
MethodParameters:
Name Flags
useOrdering
public <T> T getServiceProviderByClass(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/imageio/spi/SubRegistry;
0 1 1 providerClass Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
providerClass
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.SubRegistry.map:Ljava/util/Map;
invokeinterface java.util.Map.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: goto 11
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
invokeinterface java.util.Iterator.remove:()V
4: aload 2
instanceof javax.imageio.spi.RegisterableService
ifeq 11
5: aload 2
checkcast javax.imageio.spi.RegisterableService
astore 3
start local 3 6: aload 0
getfield javax.imageio.spi.SubRegistry.accMap:Ljava/util/Map;
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.security.AccessControlContext
astore 4
start local 4 7: aload 4
ifnonnull 8
invokestatic java.lang.System.getSecurityManager:()Ljava/lang/SecurityManager;
ifnonnull 11
8: StackMap locals: java.lang.Object javax.imageio.spi.RegisterableService java.security.AccessControlContext
StackMap stack:
new javax.imageio.spi.SubRegistry$1
dup
aload 0
aload 3
invokespecial javax.imageio.spi.SubRegistry$1.<init>:(Ljavax/imageio/spi/SubRegistry;Ljavax/imageio/spi/RegisterableService;)V
9: aload 4
10: invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;
pop
end local 4 end local 3 end local 2 11: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
12: aload 0
getfield javax.imageio.spi.SubRegistry.poset:Ljavax/imageio/spi/PartiallyOrderedSet;
invokevirtual javax.imageio.spi.PartiallyOrderedSet.clear:()V
13: aload 0
getfield javax.imageio.spi.SubRegistry.accMap:Ljava/util/Map;
invokeinterface java.util.Map.clear:()V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljavax/imageio/spi/SubRegistry;
1 15 1 iter Ljava/util/Iterator;
3 11 2 provider Ljava/lang/Object;
6 11 3 rs Ljavax/imageio/spi/RegisterableService;
7 11 4 acc Ljava/security/AccessControlContext;
public void finalize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual javax.imageio.spi.SubRegistry.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/spi/SubRegistry;
}
SourceFile: "ServiceRegistry.java"
NestMembers:
javax.imageio.spi.SubRegistry$1
InnerClasses:
javax.imageio.spi.SubRegistry$1