@param name Class name. @return Raw bytecode of the class by the given name.
(String name)
| 317 | * @return Raw bytecode of the class by the given name. |
| 318 | */ |
| 319 | public byte[] getRawClass(String name) { |
| 320 | byte[] ret = primary.getClasses().get(name); |
| 321 | if(ret != null) |
| 322 | return ret; |
| 323 | for(JavaResource resource : getLibraries()) { |
| 324 | ret = resource.getClasses().get(name); |
| 325 | if(ret != null) |
| 326 | return ret; |
| 327 | } |
| 328 | if (CP.getClasses().containsKey(name)) |
| 329 | return CP.getClasses().get(name); |
| 330 | else if (phantoms.getClasses().containsKey(name)) |
| 331 | return phantoms.getClasses().get(name); |
| 332 | return null; |
| 333 | } |
| 334 | |
| 335 | /** |
| 336 | * @param name |
no test coverage detected