org.mutabilitydetector.cli
Class RunMutabilityDetector

java.lang.Object
  extended by org.mutabilitydetector.cli.RunMutabilityDetector
All Implemented Interfaces:
Runnable, Callable<String>

public final class RunMutabilityDetector
extends Object
implements Runnable, Callable<String>

Runs an analysis configured by the given classpath and options.


Constructor Summary
RunMutabilityDetector(com.google.classpath.ClassPath classpath, BatchAnalysisOptions options, NamesFromClassResources namesFromClassResources)
           
 
Method Summary
 String call()
          Runs mutability detection, returning the results as a String.
static void main(String[] args)
           
 void run()
          Runs mutability detection, printing the results to System.out.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunMutabilityDetector

public RunMutabilityDetector(com.google.classpath.ClassPath classpath,
                             BatchAnalysisOptions options,
                             NamesFromClassResources namesFromClassResources)
Method Detail

run

public void run()
Runs mutability detection, printing the results to System.out.

Specified by:
run in interface Runnable

call

public String call()
            throws Exception
Runs mutability detection, returning the results as a String.

Specified by:
call in interface Callable<String>
Throws:
Exception

main

public static void main(String[] args)


Copyright © 2013. All Rights Reserved.