Class ImportStatementParser


  • public final class ImportStatementParser
    extends Object
    Parses a source file into a ParsedJavaFile representation.
    • Constructor Detail

      • ImportStatementParser

        ImportStatementParser​(Charset charset)
        Constructor just for testing purposes.
        Parameters:
        charset - used by te analysed project.
    • Method Detail

      • parse

        public ParsedJavaFile parse​(Path sourceFilePath)
        Converts files into more suitable ParsedJavaFile format.
        Parameters:
        sourceFilePath - path of the given file
        Returns:
        instance of ParsedJavaFile containing encapsulated information of matter about the file.