Class ClassDependencies

java.lang.Object
eu.bandm.tools.util3.ClassDependencies

public class ClassDependencies extends Object
FIXME DOC
  • Field Details

  • Constructor Details

    • ClassDependencies

      public ClassDependencies()
  • Method Details

    • printTransPackage

      public void printTransPackage(Set<String> cls)
    • analyze

      public void analyze(String[] roots, Predicate<String> filter) throws IOException, ClassNotFoundException
      FIXME DOC
      Throws:
      IOException
      ClassNotFoundException
    • main

      public static void main(String[] args) throws IOException, ClassNotFoundException
      Command line tool which finds the SCCs in class usage in the class files contained in the given root directories. FIXME MORE
      Parameters:
      args - sequence of PAIRS of Strings, the first giving a directory as it appears in a Java classpath; the second is "-" for "all files", or a subdirectory which further restricts the analyzed packages. Both use "/" as separator. ((FIXME auch Windows??))

      Example restricting the analysed source tree: bandm/tools/util3$ make run_ClassDependencies RUN_PARAMS="~/metatools/lib/classes eu/bandm/tools/util3"
      Example without restriction: bandm/tools/util3$ make run_ClassDependencies RUN_PARAMS="~/metatools/lib/classes -"

      Throws:
      IOException
      ClassNotFoundException