Package com.google.singletondetector.classpath

Examples of com.google.singletondetector.classpath.DirectoryClasspathRoot


    URL root = new File(dir).toURI().toURL();
    ClasspathRoot classpath;
    if (dir.endsWith(".jar")) {
      classpath = new JarClasspathRoot(root);
    } else {
      classpath = new DirectoryClasspathRoot(root);
    }

    // Get the class readers for each class
    buildCrlist(root, classpath, prefix, "", crlist, flags.isVerbose());
   
View Full Code Here


  /**
   * Default constructor, sets classpath root
   */
  public SingletonDetectorTest() throws MalformedURLException {
    URL url = new File("target/test-classes").toURI().toURL();
    root = new DirectoryClasspathRoot(url);
  }
View Full Code Here

TOP

Related Classes of com.google.singletondetector.classpath.DirectoryClasspathRoot

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.