public class javax.imageio.spi.ServiceRegistry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.imageio.spi.ServiceRegistry
super_class: java.lang.Object
{
private java.util.Map<java.lang.Class<?>, javax.imageio.spi.SubRegistry> categoryMap;
descriptor: Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Map<Ljava/lang/Class<*>;Ljavax/imageio/spi/SubRegistry;>;
public void <init>(java.util.Iterator<java.lang.Class<?>>);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
2: aload 1
ifnonnull 8
3: new java.lang.IllegalArgumentException
dup
ldc "categories == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: javax.imageio.spi.ServiceRegistry java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 2
start local 2 5: aload 2
invokestatic javax.imageio.spi.ServiceRegistry.checkClassAllowed:(Ljava/lang/Class;)V
6: new javax.imageio.spi.SubRegistry
dup
aload 0
aload 2
invokespecial javax.imageio.spi.SubRegistry.<init>:(Ljavax/imageio/spi/ServiceRegistry;Ljava/lang/Class;)V
astore 3
start local 3 7: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 end local 2 8: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljavax/imageio/spi/ServiceRegistry;
0 10 1 categories Ljava/util/Iterator<Ljava/lang/Class<*>;>;
5 8 2 category Ljava/lang/Class<*>;
7 8 3 reg Ljavax/imageio/spi/SubRegistry;
Signature: (Ljava/util/Iterator<Ljava/lang/Class<*>;>;)V
MethodParameters:
Name Flags
categories
public static <T> java.util.Iterator<T> lookupProviders(java.lang.Class<T>, java.lang.ClassLoader);
descriptor: (Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "providerClass == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.imageio.spi.ServiceRegistry.checkClassAllowed:(Ljava/lang/Class;)V
3: aload 0
aload 1
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 providerClass Ljava/lang/Class<TT;>;
0 4 1 loader Ljava/lang/ClassLoader;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljava/lang/ClassLoader;)Ljava/util/Iterator<TT;>;
MethodParameters:
Name Flags
providerClass
loader
public static <T> java.util.Iterator<T> lookupProviders(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/util/Iterator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "providerClass == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokestatic javax.imageio.spi.ServiceRegistry.checkClassAllowed:(Ljava/lang/Class;)V
3: aload 0
invokestatic java.util.ServiceLoader.load:(Ljava/lang/Class;)Ljava/util/ServiceLoader;
invokevirtual java.util.ServiceLoader.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 providerClass Ljava/lang/Class<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)Ljava/util/Iterator<TT;>;
MethodParameters:
Name Flags
providerClass
public java.util.Iterator<java.lang.Class<?>> getCategories();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljavax/imageio/spi/ServiceRegistry;
1 2 1 keySet Ljava/util/Set<Ljava/lang/Class<*>;>;
Signature: ()Ljava/util/Iterator<Ljava/lang/Class<*>;>;
private java.util.Iterator<javax.imageio.spi.SubRegistry> getSubRegistries();
descriptor: (Ljava/lang/Object;)Ljava/util/Iterator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=5, 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: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 4
start local 4 4: aload 4
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: aload 2
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 4
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/spi/ServiceRegistry;
0 8 1 provider Ljava/lang/Object;
1 8 2 l Ljava/util/List<Ljavax/imageio/spi/SubRegistry;>;
2 8 3 iter Ljava/util/Iterator<Ljava/lang/Class<*>;>;
4 6 4 c Ljava/lang/Class<*>;
Signature: (Ljava/lang/Object;)Ljava/util/Iterator<Ljavax/imageio/spi/SubRegistry;>;
MethodParameters:
Name Flags
provider
public <T> boolean registerServiceProvider(T, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 7
6: new java.lang.ClassCastException
dup
invokespecial java.lang.ClassCastException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual javax.imageio.spi.SubRegistry.registerServiceProvider:(Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/spi/ServiceRegistry;
0 8 1 provider TT;
0 8 2 category Ljava/lang/Class<TT;>;
3 8 3 reg Ljavax/imageio/spi/SubRegistry;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/Class<TT;>;)Z
MethodParameters:
Name Flags
provider
category
public void registerServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.imageio.spi.ServiceRegistry.getSubRegistries:(Ljava/lang/Object;)Ljava/util/Iterator;
astore 2
start local 2 3: goto 6
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 5: aload 3
aload 1
invokevirtual javax.imageio.spi.SubRegistry.registerServiceProvider:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/spi/ServiceRegistry;
0 8 1 provider Ljava/lang/Object;
3 8 2 regs Ljava/util/Iterator<Ljavax/imageio/spi/SubRegistry;>;
5 6 3 reg Ljavax/imageio/spi/SubRegistry;
MethodParameters:
Name Flags
provider
public void registerServiceProviders(java.util.Iterator<?>);
descriptor: (Ljava/util/Iterator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 3
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual javax.imageio.spi.ServiceRegistry.registerServiceProvider:(Ljava/lang/Object;)V
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/spi/ServiceRegistry;
0 5 1 providers Ljava/util/Iterator<*>;
Signature: (Ljava/util/Iterator<*>;)V
MethodParameters:
Name Flags
providers
public <T> boolean deregisterServiceProvider(T, java.lang.Class<T>);
descriptor: (Ljava/lang/Object;Ljava/lang/Class;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 3: aload 3
ifnonnull 5
4: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 2
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifne 7
6: new java.lang.ClassCastException
dup
invokespecial java.lang.ClassCastException.<init>:()V
athrow
7: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual javax.imageio.spi.SubRegistry.deregisterServiceProvider:(Ljava/lang/Object;)Z
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/spi/ServiceRegistry;
0 8 1 provider TT;
0 8 2 category Ljava/lang/Class<TT;>;
3 8 3 reg Ljavax/imageio/spi/SubRegistry;
Signature: <T:Ljava/lang/Object;>(TT;Ljava/lang/Class<TT;>;)Z
MethodParameters:
Name Flags
provider
category
public void deregisterServiceProvider(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.imageio.spi.ServiceRegistry.getSubRegistries:(Ljava/lang/Object;)Ljava/util/Iterator;
astore 2
start local 2 3: goto 6
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 5: aload 3
aload 1
invokevirtual javax.imageio.spi.SubRegistry.deregisterServiceProvider:(Ljava/lang/Object;)Z
pop
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljavax/imageio/spi/ServiceRegistry;
0 8 1 provider Ljava/lang/Object;
3 8 2 regs Ljava/util/Iterator<Ljavax/imageio/spi/SubRegistry;>;
5 6 3 reg Ljavax/imageio/spi/SubRegistry;
MethodParameters:
Name Flags
provider
public boolean contains(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 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "provider == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual javax.imageio.spi.ServiceRegistry.getSubRegistries:(Ljava/lang/Object;)Ljava/util/Iterator;
astore 2
start local 2 3: goto 7
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 5: aload 3
aload 1
invokevirtual javax.imageio.spi.SubRegistry.contains:(Ljava/lang/Object;)Z
ifeq 7
6: iconst_1
ireturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/imageio/spi/ServiceRegistry;
0 9 1 provider Ljava/lang/Object;
3 9 2 regs Ljava/util/Iterator<Ljavax/imageio/spi/SubRegistry;>;
5 7 3 reg Ljavax/imageio/spi/SubRegistry;
MethodParameters:
Name Flags
provider
public <T> java.util.Iterator<T> getServiceProviders(java.lang.Class<T>, boolean);
descriptor: (Ljava/lang/Class;Z)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 3
iload 2
invokevirtual javax.imageio.spi.SubRegistry.getServiceProviders:(Z)Ljava/util/Iterator;
astore 4
start local 4 4: aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/spi/ServiceRegistry;
0 5 1 category Ljava/lang/Class<TT;>;
0 5 2 useOrdering Z
1 5 3 reg Ljavax/imageio/spi/SubRegistry;
4 5 4 it Ljava/util/Iterator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Z)Ljava/util/Iterator<TT;>;
MethodParameters:
Name Flags
category
useOrdering
public <T> java.util.Iterator<T> getServiceProviders(java.lang.Class<T>, javax.imageio.spi.ServiceRegistry$Filter, boolean);
descriptor: (Ljava/lang/Class;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 4
start local 4 1: aload 4
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 0
aload 1
iload 3
invokevirtual javax.imageio.spi.ServiceRegistry.getServiceProviders:(Ljava/lang/Class;Z)Ljava/util/Iterator;
astore 5
start local 5 4: new javax.imageio.spi.FilterIterator
dup
aload 5
aload 2
invokespecial javax.imageio.spi.FilterIterator.<init>:(Ljava/util/Iterator;Ljavax/imageio/spi/ServiceRegistry$Filter;)V
areturn
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 5 0 this Ljavax/imageio/spi/ServiceRegistry;
0 5 1 category Ljava/lang/Class<TT;>;
0 5 2 filter Ljavax/imageio/spi/ServiceRegistry$Filter;
0 5 3 useOrdering Z
1 5 4 reg Ljavax/imageio/spi/SubRegistry;
4 5 5 iter Ljava/util/Iterator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;Ljavax/imageio/spi/ServiceRegistry$Filter;Z)Ljava/util/Iterator<TT;>;
MethodParameters:
Name Flags
category
filter
useOrdering
public <T> T getServiceProviderByClass(java.lang.Class<T>);
descriptor: (Ljava/lang/Class;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "providerClass == null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
invokeinterface java.util.Map.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 3: goto 10
4: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Class
astore 3
start local 3 5: aload 3
aload 1
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 10
6: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 3
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 4
start local 4 7: aload 4
aload 1
invokevirtual javax.imageio.spi.SubRegistry.getServiceProviderByClass:(Ljava/lang/Class;)Ljava/lang/Object;
astore 5
start local 5 8: aload 5
ifnull 10
9: aload 5
areturn
end local 5 end local 4 end local 3 10: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljavax/imageio/spi/ServiceRegistry;
0 12 1 providerClass Ljava/lang/Class<TT;>;
3 12 2 iter Ljava/util/Iterator<Ljava/lang/Class<*>;>;
5 10 3 c Ljava/lang/Class<*>;
7 10 4 reg Ljavax/imageio/spi/SubRegistry;
8 10 5 provider TT;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;)TT;
MethodParameters:
Name Flags
providerClass
public <T> boolean setOrdering(java.lang.Class<T>, T, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 3
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "provider is null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
aload 3
if_acmpne 4
3: new java.lang.IllegalArgumentException
dup
ldc "providers are the same!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 4
start local 4 5: aload 4
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 4
aload 2
invokevirtual javax.imageio.spi.SubRegistry.contains:(Ljava/lang/Object;)Z
ifeq 10
8: aload 4
aload 3
invokevirtual javax.imageio.spi.SubRegistry.contains:(Ljava/lang/Object;)Z
ifeq 10
9: aload 4
aload 2
aload 3
invokevirtual javax.imageio.spi.SubRegistry.setOrdering:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/imageio/spi/ServiceRegistry;
0 11 1 category Ljava/lang/Class<TT;>;
0 11 2 firstProvider TT;
0 11 3 secondProvider TT;
5 11 4 reg Ljavax/imageio/spi/SubRegistry;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;TT;TT;)Z
MethodParameters:
Name Flags
category
firstProvider
secondProvider
public <T> boolean unsetOrdering(java.lang.Class<T>, T, );
descriptor: (Ljava/lang/Class;Ljava/lang/Object;Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ifnull 1
aload 3
ifnonnull 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "provider is null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 2
aload 3
if_acmpne 4
3: new java.lang.IllegalArgumentException
dup
ldc "providers are the same!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 4
start local 4 5: aload 4
ifnonnull 7
6: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 4
aload 2
invokevirtual javax.imageio.spi.SubRegistry.contains:(Ljava/lang/Object;)Z
ifeq 10
8: aload 4
aload 3
invokevirtual javax.imageio.spi.SubRegistry.contains:(Ljava/lang/Object;)Z
ifeq 10
9: aload 4
aload 2
aload 3
invokevirtual javax.imageio.spi.SubRegistry.unsetOrdering:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljavax/imageio/spi/ServiceRegistry;
0 11 1 category Ljava/lang/Class<TT;>;
0 11 2 firstProvider TT;
0 11 3 secondProvider TT;
5 11 4 reg Ljavax/imageio/spi/SubRegistry;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Class<TT;>;TT;TT;)Z
MethodParameters:
Name Flags
category
firstProvider
secondProvider
public void deregisterAll(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalArgumentException
dup
ldc "category unknown!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: javax.imageio.spi.SubRegistry
StackMap stack:
aload 2
invokevirtual javax.imageio.spi.SubRegistry.clear:()V
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/imageio/spi/ServiceRegistry;
0 5 1 category Ljava/lang/Class<*>;
1 5 2 reg Ljavax/imageio/spi/SubRegistry;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
category
public void deregisterAll();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=3, args_size=1
start local 0 0: aload 0
getfield javax.imageio.spi.ServiceRegistry.categoryMap: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 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast javax.imageio.spi.SubRegistry
astore 2
start local 2 3: aload 2
invokevirtual javax.imageio.spi.SubRegistry.clear:()V
end local 2 4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/imageio/spi/ServiceRegistry;
1 6 1 iter Ljava/util/Iterator<Ljavax/imageio/spi/SubRegistry;>;
3 4 2 reg Ljavax/imageio/spi/SubRegistry;
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.ServiceRegistry.deregisterAll:()V
1: aload 0
invokespecial java.lang.Object.finalize:()V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/imageio/spi/ServiceRegistry;
Exceptions:
throws java.lang.Throwable
RuntimeVisibleAnnotations:
java.lang.Deprecated(since = "9")
private static void checkClassAllowed(java.lang.Class<?>);
descriptor: (Ljava/lang/Class;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "class must not be null"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
ldc Ljavax/imageio/spi/ImageInputStreamSpi;
if_acmpeq 8
3: aload 0
ldc Ljavax/imageio/spi/ImageOutputStreamSpi;
if_acmpeq 8
4: aload 0
ldc Ljavax/imageio/spi/ImageReaderSpi;
if_acmpeq 8
5: aload 0
ldc Ljavax/imageio/spi/ImageTranscoderSpi;
if_acmpeq 8
6: aload 0
ldc Ljavax/imageio/spi/ImageWriterSpi;
if_acmpeq 8
7: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc " is not an ImageIO SPI class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 clazz Ljava/lang/Class<*>;
Signature: (Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
clazz
}
SourceFile: "ServiceRegistry.java"
NestMembers:
javax.imageio.spi.ServiceRegistry$Filter
InnerClasses:
public abstract Filter = javax.imageio.spi.ServiceRegistry$Filter of javax.imageio.spi.ServiceRegistry