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)
Signature: Ljava/lang/Class<*>;
final javax.imageio.spi.PartiallyOrderedSet<java.lang.Object> poset;
descriptor: Ljavax/imageio/spi/PartiallyOrderedSet;
flags: (0x0010) ACC_FINAL
Signature: Ljavax/imageio/spi/PartiallyOrderedSet<Ljava/lang/Object;>;
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<*>;
Signature: (Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
registry
category
public synchronized boolean registerServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=3, locals=6, 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 16
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
12: goto 16
StackMap locals: javax.imageio.spi.SubRegistry java.lang.Object java.lang.Object int javax.imageio.spi.RegisterableService
StackMap stack: java.lang.Throwable
13: astore 5
start local 5 14: getstatic java.lang.System.err:Ljava/io/PrintStream;
ldc "Caught and handled this exception :"
invokevirtual java.io.PrintStream.println:(Ljava/lang/String;)V
15: aload 5
invokevirtual java.lang.Throwable.printStackTrace:()V
end local 5 end local 4 16: StackMap locals:
StackMap stack:
iload 3
ifeq 17
iconst_0
goto 18
StackMap locals:
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljavax/imageio/spi/SubRegistry;
0 19 1 provider Ljava/lang/Object;
1 19 2 oprovider Ljava/lang/Object;
4 19 3 present Z
11 16 4 rs Ljavax/imageio/spi/RegisterableService;
14 16 5 t Ljava/lang/Throwable;
Exception table:
from to target type
11 12 13 Class java.lang.Throwable
MethodParameters:
Name Flags
provider
public synchronized boolean deregisterServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 synchronized boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 synchronized boolean setOrdering(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 synchronized boolean unsetOrdering(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 synchronized java.util.Iterator<java.lang.Object> getServiceProviders(boolean);
descriptor: (Z)Ljava/util/Iterator;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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
Signature: (Z)Ljava/util/Iterator<Ljava/lang/Object;>;
MethodParameters:
Name Flags
useOrdering
public synchronized <T> T getServiceProviderByClass(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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 synchronized void clear();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, 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:
aload 0
aload 3
invokedynamic run(Ljavax/imageio/spi/SubRegistry;Ljavax/imageio/spi/RegisterableService;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
javax/imageio/spi/SubRegistry.lambda$0(Ljavax/imageio/spi/RegisterableService;)Ljava/lang/Void; (7)
()Ljava/lang/Void;
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<Ljava/lang/Object;>;
3 11 2 provider Ljava/lang/Object;
6 11 3 rs Ljavax/imageio/spi/RegisterableService;
7 11 4 acc Ljava/security/AccessControlContext;
public synchronized void finalize();
descriptor: ()V
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
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;
private java.lang.Void lambda$0(javax.imageio.spi.RegisterableService);
descriptor: (Ljavax/imageio/spi/RegisterableService;)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: aload 1
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
1: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/spi/SubRegistry;
}
SourceFile: "ServiceRegistry.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles