Package io.codemodder.javaparser
Interface JavaParserFactory
public interface JavaParserFactory
Responsible for generating
JavaParser
instances.-
Method Summary
Modifier and TypeMethodDescriptioncom.github.javaparser.JavaParser
create
(List<SourceDirectory> sourceDirectories) Create a JavaParser instance for the given project source directories.static JavaParserFactory
-
Method Details
-
create
Create a JavaParser instance for the given project source directories. Note that we should still operate on the files that are not in the source directories, but we may have less symbol resolution for them.- Parameters:
sourceDirectories
- the path to the project- Returns:
- a JavaParser instance based on the given source directories
- Throws:
IOException
-
newFactory
-