Class SourceFileInfoExtractor
- java.lang.Object
-
- com.github.javaparser.symbolsolver.SourceFileInfoExtractor
-
public class SourceFileInfoExtractor extends Object
It prints information extracted from a source file. It is mainly intended as an example usage of JavaSymbolSolver.- Author:
- Federico Tomassetti
-
-
Constructor Summary
Constructors Constructor Description SourceFileInfoExtractor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()intgetKo()intgetOk()intgetUnsupported()voidsetErr(PrintStream err)voidsetOut(PrintStream out)voidsetPrintFileName(boolean printFileName)voidsetTypeSolver(com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)voidsetVerbose(boolean verbose)voidsolve(Path path)voidsolveMethodCalls(Path path)
-
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
setPrintFileName
public void setPrintFileName(boolean printFileName)
-
clear
public void clear()
-
setOut
public void setOut(PrintStream out)
-
setErr
public void setErr(PrintStream err)
-
getOk
public int getOk()
-
getUnsupported
public int getUnsupported()
-
getKo
public int getKo()
-
solve
public void solve(Path path) throws IOException
- Throws:
IOException
-
solveMethodCalls
public void solveMethodCalls(Path path) throws IOException
- Throws:
IOException
-
setTypeSolver
public void setTypeSolver(com.github.javaparser.symbolsolver.model.resolution.TypeSolver typeSolver)
-
-