Package org.jboss.modules
Class DependencyTreeViewer
- java.lang.Object
-
- org.jboss.modules.DependencyTreeViewer
-
public final class DependencyTreeViewer extends java.lang.Object
A dependency tree viewer utility. Prints out the dependency tree for a module.
-
-
Constructor Summary
Constructors Constructor Description DependencyTreeViewer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static <I,O extends I>
O[]filtered(java.lang.Class<O[]> oType, I... inputs)
private static void
print(java.io.PrintWriter out, java.lang.String prefix, DependencySpec spec, FastCopyHashSet<ModuleIdentifier> visited, boolean last, java.io.File... roots)
private static void
print(java.io.PrintWriter out, java.lang.String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
private static void
print(java.io.PrintWriter out, java.lang.String prefix, ModuleSpec spec, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
static void
print(java.io.PrintWriter out, ModuleIdentifier identifier, java.io.File... roots)
Print the dependency tree for the given module with the given module root list.
-
-
-
Method Detail
-
filtered
private static <I,O extends I> O[] filtered(java.lang.Class<O[]> oType, I... inputs)
-
print
private static void print(java.io.PrintWriter out, java.lang.String prefix, ModuleSpec spec, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
-
print
private static void print(java.io.PrintWriter out, java.lang.String prefix, DependencySpec spec, FastCopyHashSet<ModuleIdentifier> visited, boolean last, java.io.File... roots)
-
print
private static void print(java.io.PrintWriter out, java.lang.String prefix, ModuleIdentifier identifier, FastCopyHashSet<ModuleIdentifier> visited, java.io.File... roots)
-
print
public static void print(java.io.PrintWriter out, ModuleIdentifier identifier, java.io.File... roots)
Print the dependency tree for the given module with the given module root list.- Parameters:
out
- the output stream to useidentifier
- the identifier of the module to examineroots
- the module roots to search
-
-