Package one.x1f.sip.foundation.mvnplugin
Class ImportStatementParser
java.lang.Object
one.x1f.sip.foundation.mvnplugin.ImportStatementParser
Parses a source file into a
ParsedJavaFile representation.-
Constructor Summary
ConstructorsConstructorDescriptionImportStatementParser(Charset charset) Constructor just for testing purposes. -
Method Summary
Modifier and TypeMethodDescriptionConverts files into more suitableParsedJavaFileformat.parseImport(String line, int lineNumber)
-
Constructor Details
-
ImportStatementParser
ImportStatementParser(Charset charset) Constructor just for testing purposes.- Parameters:
charset- used by te analysed project.
-
-
Method Details
-
parse
Converts files into more suitableParsedJavaFileformat.- Parameters:
sourceFilePath- path of the given file- Returns:
- instance of
ParsedJavaFilecontaining encapsulated information of matter about the file.
-
parseImport
-