Class SourceFileInfoExtractor
- java.lang.Object
-
- com.github.javaparser.symbolsolver.SourceFileInfoExtractor
-
public class SourceFileInfoExtractor extends java.lang.ObjectResolves resolvable nodes from one or more source files, and reports the results. It is mainly intended as an example usage of JavaSymbolSolver.- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description SourceFileInfoExtractor(com.github.javaparser.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFailures()intgetSuccesses()intgetUnsupported()voidsetErr(java.io.PrintStream err)voidsetOut(java.io.PrintStream out)voidsetPrintFileName(boolean printFileName)voidsetVerbose(boolean verbose)voidsolve(java.nio.file.Path path)voidsolveMethodCalls(java.nio.file.Path path)
-
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
setPrintFileName
public void setPrintFileName(boolean printFileName)
-
setOut
public void setOut(java.io.PrintStream out)
-
setErr
public void setErr(java.io.PrintStream err)
-
getSuccesses
public int getSuccesses()
-
getUnsupported
public int getUnsupported()
-
getFailures
public int getFailures()
-
solve
public void solve(java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
solveMethodCalls
public void solveMethodCalls(java.nio.file.Path path) throws java.io.IOException- Throws:
java.io.IOException
-
-