public class org.apache.batik.util.Service
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.batik.util.Service
super_class: java.lang.Object
{
static java.util.HashMap providerMap;
descriptor: Ljava/util/HashMap;
flags: (0x0008) ACC_STATIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
putstatic org.apache.batik.util.Service.providerMap:Ljava/util/HashMap;
return
LocalVariableTable:
Start End Slot Name Signature
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 Lorg/apache/batik/util/Service;
public static synchronized java.util.Iterator providers(java.lang.Class);
descriptor: (Ljava/lang/Class;)Ljava/util/Iterator;
flags: (0x0029) ACC_PUBLIC, ACC_STATIC, ACC_SYNCHRONIZED
Code:
stack=4, locals=13, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "META-INF/services/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 1
start local 1 1: getstatic org.apache.batik.util.Service.providerMap:Ljava/util/HashMap;
aload 1
invokevirtual java.util.HashMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 2: aload 2
ifnull 4
3: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
4: StackMap locals: java.lang.String java.util.List
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
5: getstatic org.apache.batik.util.Service.providerMap:Ljava/util/HashMap;
aload 1
aload 2
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aconst_null
astore 3
start local 3 7: aload 0
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
8: goto 10
StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader
StackMap stack: java.lang.SecurityException
9: pop
10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 11
ldc Lorg/apache/batik/util/Service;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
astore 3
11: StackMap locals:
StackMap stack:
aload 3
ifnonnull 12
aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
12: StackMap locals:
StackMap stack:
aload 3
aload 1
invokevirtual java.lang.ClassLoader.getResources:(Ljava/lang/String;)Ljava/util/Enumeration;
astore 4
start local 4 13: goto 103
end local 4 StackMap locals:
StackMap stack: java.io.IOException
14: pop
15: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
start local 4 16: StackMap locals: java.util.Enumeration
StackMap stack:
aconst_null
astore 5
start local 5 17: aconst_null
astore 6
start local 6 18: aconst_null
astore 7
start local 7 19: aload 4
invokeinterface java.util.Enumeration.nextElement:()Ljava/lang/Object;
checkcast java.net.URL
astore 8
start local 8 20: aload 8
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
astore 5
21: new java.io.InputStreamReader
dup
aload 5
ldc "UTF-8"
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/lang/String;)V
astore 6
22: new java.io.BufferedReader
dup
aload 6
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 7
23: aload 7
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 9
start local 9 24: goto 37
25: StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader java.util.Enumeration java.io.InputStream java.io.Reader java.io.BufferedReader java.net.URL java.lang.String
StackMap stack:
aload 9
bipush 35
invokevirtual java.lang.String.indexOf:(I)I
istore 10
start local 10 26: iload 10
iconst_m1
if_icmpeq 28
27: aload 9
iconst_0
iload 10
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 9
28: StackMap locals: int
StackMap stack:
aload 9
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 9
29: aload 9
invokevirtual java.lang.String.length:()I
ifne 32
30: aload 7
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 9
31: goto 37
32: StackMap locals:
StackMap stack:
aload 3
aload 9
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getDeclaredConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 11
start local 11 33: aload 2
aload 11
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 11 end local 10 34: goto 36
StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader java.util.Enumeration java.io.InputStream java.io.Reader java.io.BufferedReader java.net.URL java.lang.String
StackMap stack: java.lang.Exception
35: pop
36: StackMap locals:
StackMap stack:
aload 7
invokevirtual java.io.BufferedReader.readLine:()Ljava/lang/String;
astore 9
37: StackMap locals:
StackMap stack:
aload 9
ifnonnull 25
end local 9 end local 8 38: goto 88
StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader java.util.Enumeration java.io.InputStream java.io.Reader java.io.BufferedReader
StackMap stack: java.lang.Exception
39: pop
40: aload 5
ifnull 45
41: aload 5
invokevirtual java.io.InputStream.close:()V
42: goto 44
StackMap locals:
StackMap stack: java.io.IOException
43: pop
44: StackMap locals:
StackMap stack:
aconst_null
astore 5
45: StackMap locals:
StackMap stack:
aload 6
ifnull 50
46: aload 6
invokevirtual java.io.Reader.close:()V
47: goto 49
StackMap locals:
StackMap stack: java.io.IOException
48: pop
49: StackMap locals:
StackMap stack:
aconst_null
astore 6
50: StackMap locals:
StackMap stack:
aload 7
ifnull 103
51: aload 7
invokevirtual java.io.BufferedReader.close:()V
52: goto 54
StackMap locals:
StackMap stack: java.io.IOException
53: pop
54: StackMap locals:
StackMap stack:
aconst_null
astore 7
goto 103
55: StackMap locals:
StackMap stack: java.lang.LinkageError
pop
56: aload 5
ifnull 61
57: aload 5
invokevirtual java.io.InputStream.close:()V
58: goto 60
StackMap locals:
StackMap stack: java.io.IOException
59: pop
60: StackMap locals:
StackMap stack:
aconst_null
astore 5
61: StackMap locals:
StackMap stack:
aload 6
ifnull 66
62: aload 6
invokevirtual java.io.Reader.close:()V
63: goto 65
StackMap locals:
StackMap stack: java.io.IOException
64: pop
65: StackMap locals:
StackMap stack:
aconst_null
astore 6
66: StackMap locals:
StackMap stack:
aload 7
ifnull 103
67: aload 7
invokevirtual java.io.BufferedReader.close:()V
68: goto 70
StackMap locals:
StackMap stack: java.io.IOException
69: pop
70: StackMap locals:
StackMap stack:
aconst_null
astore 7
goto 103
71: StackMap locals:
StackMap stack: java.lang.Throwable
astore 12
72: aload 5
ifnull 77
73: aload 5
invokevirtual java.io.InputStream.close:()V
74: goto 76
StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader java.util.Enumeration java.io.InputStream java.io.Reader java.io.BufferedReader top top top top java.lang.Throwable
StackMap stack: java.io.IOException
75: pop
76: StackMap locals:
StackMap stack:
aconst_null
astore 5
77: StackMap locals:
StackMap stack:
aload 6
ifnull 82
78: aload 6
invokevirtual java.io.Reader.close:()V
79: goto 81
StackMap locals:
StackMap stack: java.io.IOException
80: pop
81: StackMap locals:
StackMap stack:
aconst_null
astore 6
82: StackMap locals:
StackMap stack:
aload 7
ifnull 87
83: aload 7
invokevirtual java.io.BufferedReader.close:()V
84: goto 86
StackMap locals:
StackMap stack: java.io.IOException
85: pop
86: StackMap locals:
StackMap stack:
aconst_null
astore 7
87: StackMap locals:
StackMap stack:
aload 12
athrow
88: StackMap locals: java.lang.Class java.lang.String java.util.List java.lang.ClassLoader java.util.Enumeration java.io.InputStream java.io.Reader java.io.BufferedReader
StackMap stack:
aload 5
ifnull 93
89: aload 5
invokevirtual java.io.InputStream.close:()V
90: goto 92
StackMap locals:
StackMap stack: java.io.IOException
91: pop
92: StackMap locals:
StackMap stack:
aconst_null
astore 5
93: StackMap locals:
StackMap stack:
aload 6
ifnull 98
94: aload 6
invokevirtual java.io.Reader.close:()V
95: goto 97
StackMap locals:
StackMap stack: java.io.IOException
96: pop
97: StackMap locals:
StackMap stack:
aconst_null
astore 6
98: StackMap locals:
StackMap stack:
aload 7
ifnull 103
99: aload 7
invokevirtual java.io.BufferedReader.close:()V
100: goto 102
StackMap locals:
StackMap stack: java.io.IOException
101: pop
102: StackMap locals:
StackMap stack:
aconst_null
astore 7
end local 7 end local 6 end local 5 103: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Enumeration.hasMoreElements:()Z
ifne 16
104: aload 2
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 105 0 cls Ljava/lang/Class;
1 105 1 serviceFile Ljava/lang/String;
2 105 2 l Ljava/util/List;
7 105 3 cl Ljava/lang/ClassLoader;
13 14 4 e Ljava/util/Enumeration;
16 105 4 e Ljava/util/Enumeration;
17 103 5 is Ljava/io/InputStream;
18 103 6 r Ljava/io/Reader;
19 103 7 br Ljava/io/BufferedReader;
20 38 8 u Ljava/net/URL;
24 38 9 line Ljava/lang/String;
26 34 10 idx I
33 34 11 obj Ljava/lang/Object;
Exception table:
from to target type
7 8 9 Class java.lang.SecurityException
12 13 14 Class java.io.IOException
25 31 35 Class java.lang.Exception
32 34 35 Class java.lang.Exception
19 38 39 Class java.lang.Exception
41 42 43 Class java.io.IOException
46 47 48 Class java.io.IOException
51 52 53 Class java.io.IOException
19 38 55 Class java.lang.LinkageError
57 58 59 Class java.io.IOException
62 63 64 Class java.io.IOException
67 68 69 Class java.io.IOException
19 40 71 any
55 56 71 any
73 74 75 Class java.io.IOException
78 79 80 Class java.io.IOException
83 84 85 Class java.io.IOException
89 90 91 Class java.io.IOException
94 95 96 Class java.io.IOException
99 100 101 Class java.io.IOException
MethodParameters:
Name Flags
cls
}
SourceFile: "Service.java"