Interface JavaParserFactory


public interface JavaParserFactory
Responsible for generating JavaParser instances.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.github.javaparser.JavaParser
    create(List<SourceDirectory> sourceDirectories)
    Create a JavaParser instance for the given project source directories
     
  • Method Details

    • create

      com.github.javaparser.JavaParser create(List<SourceDirectory> sourceDirectories) throws IOException
      Create a JavaParser instance for the given project source directories
      Parameters:
      sourceDirectories - the path to the project
      Returns:
      a JavaParser instance based on the given source directories
      Throws:
      IOException
    • newFactory

      static JavaParserFactory newFactory()