(ClassLoader loader,
Object pool,
InputStream in)
| 141 | } |
| 142 | |
| 143 | private static Object[] parseAnnotation(ClassLoader loader, |
| 144 | Object pool, |
| 145 | InputStream in) |
| 146 | throws IOException |
| 147 | { |
| 148 | byte[] typeName = (byte[]) Singleton.getObject(pool, read2(in) - 1); |
| 149 | Object[] annotation = new Object[(read2(in) + 1) * 2]; |
| 150 | annotation[1] = SystemClassLoader.getClass |
| 151 | (loadVMClass(loader, typeName, 1, typeName.length - 3)); |
| 152 | |
| 153 | for (int i = 2; i < annotation.length; i += 2) { |
| 154 | byte[] name = (byte[]) Singleton.getObject(pool, read2(in) - 1); |
| 155 | annotation[i] = new String(name, 0, name.length - 1); |
| 156 | annotation[i + 1] = parseAnnotationValue(loader, pool, in); |
| 157 | } |
| 158 | |
| 159 | return annotation; |
| 160 | } |
| 161 | |
| 162 | private static Object[] parseAnnotationTable(ClassLoader loader, |
| 163 | Object pool, |
no test coverage detected