Class SourceFileInfoExtractor
- java.lang.Object
-
- com.github.javaparser.symbolsolver.SourceFileInfoExtractor
-
public class SourceFileInfoExtractor extends Object
Resolves 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.symbolsolver.model.resolution.TypeSolver typeSolver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFailures()
int
getSuccesses()
int
getUnsupported()
void
setErr(PrintStream err)
void
setOut(PrintStream out)
void
setPrintFileName(boolean printFileName)
void
setVerbose(boolean verbose)
void
solve(Path path)
void
solveMethodCalls(Path path)
-
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
setPrintFileName
public void setPrintFileName(boolean printFileName)
-
setOut
public void setOut(PrintStream out)
-
setErr
public void setErr(PrintStream err)
-
getSuccesses
public int getSuccesses()
-
getUnsupported
public int getUnsupported()
-
getFailures
public int getFailures()
-
solve
public void solve(Path path) throws IOException
- Throws:
IOException
-
solveMethodCalls
public void solveMethodCalls(Path path) throws IOException
- Throws:
IOException
-
-