Lists dependencies associated with the supplied class loader. @param cl the class loader to inspect @return the dependency descriptors
(ClassLoader cl)
| 365 | * @return the dependency descriptors |
| 366 | */ |
| 367 | public static Map[] listDependencies(ClassLoader cl) { |
| 368 | Map[] maps = null; |
| 369 | if (enableGrapes) { |
| 370 | GrapeEngine instance = getInstance(); |
| 371 | if (instance != null) { |
| 372 | maps = instance.listDependencies(cl); |
| 373 | } |
| 374 | } |
| 375 | if (maps == null) { |
| 376 | return EMPTY_MAP_ARRAY; |
| 377 | } |
| 378 | return maps; |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Adds a resolver to the shared grape engine. |
nothing calls this directly
no test coverage detected