Class ImportStatement
- java.lang.Object
-
- de.ikor.sip.foundation.mvnplugin.model.ImportStatement
-
public final class ImportStatement extends Object
Represents an import statement that has been discovered while parsing a source file.
-
-
Constructor Summary
Constructors Constructor Description ImportStatement(String importName, int line, boolean staticImport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getImportName()
Returns the import name including the 'static ' prefix if this represents a static import.int
getLine()
The physical line within the source file in which the import has occurred.
-
-
-
Constructor Detail
-
ImportStatement
public ImportStatement(String importName, int line, boolean staticImport)
-
-
Method Detail
-
getLine
public int getLine()
The physical line within the source file in which the import has occurred. Number is always 1-based!- Returns:
- The line number of the matched imports.
-
getImportName
public String getImportName()
Returns the import name including the 'static ' prefix if this represents a static import.- Returns:
- The full import name.
-
-